Skip to content
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

SauceLabs job status and comments #64

Open
derdualist opened this issue Aug 13, 2024 · 0 comments
Open

SauceLabs job status and comments #64

derdualist opened this issue Aug 13, 2024 · 0 comments

Comments

@derdualist
Copy link
Member

The result status of the test should be visible in SauceLabs and Gauge steps should be marked in the command list.
That way, a group of Selenium commands can be easily matched to the corresponding Gauge step. And the job status will not be "completed" for both, successful and failed tests.
SauceLabs offers 2 ways to do this: via their API or by sending a script execution command. We should try the latter, as it is easier to integrate and to read. Example:

driver.execute_script("sauce:job-result=passed")

https://docs.saucelabs.com/basics/test-config-annotation/test-annotation/

It must be tested with desktop and mobile browser and with native app tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant