-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix single test execution #239
base: main
Are you sure you want to change the base?
Conversation
@@ -34,7 +34,7 @@ function executeTests() { | |||
} | |||
|
|||
function returnToTestSelection() { | |||
location.reload(); | |||
location.href = '/v1.2/app/index.html'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you test this in Sail?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Sail location.reload() and location.href are not working.
Single test execution is still broken in Sail.
On clicking the button, it opens up the tests in Browser.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
anything to do with scoping? window.location
and location
are not necessarily the same thing depending on which scope you are in.
@@ -73,6 +72,31 @@ function toggleBackButton() { | |||
} | |||
} | |||
|
|||
function executeSingleTest(testName: string, manualTest: boolean) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like it's repeated code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can sort it out and make it as one function.
No description provided.