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

[Feature]: Show Playwright steps in Sauce Labs report #3059

Open
1 task done
vitalets opened this issue Jan 14, 2025 · 0 comments
Open
1 task done

[Feature]: Show Playwright steps in Sauce Labs report #3059

vitalets opened this issue Jan 14, 2025 · 0 comments

Comments

@vitalets
Copy link

🚀 Feature Proposal

Have you read the contributing guidelines on issues?

  • Yes

Description

Currently, Sauce Labs report shows only test titles for kind: playwright executions.

Motivation

Having steps in the report improves test observability and helps in debugging.

Example

I've added Playwright step to the example.spec.js from saucectl-playwright-example:

test('homepage has Playwright in title and get started link linking to the intro page', async ({ page }, testInfo) => {
+  await test.step('Navigate to Playwright website', async () => {
    await page.goto('https://playwright.dev/');
+  });

After running on Sauce Cloud I see only test title without step:

Image

Additional Context

For playwright-cucumberjs executions Sauce shows BDD steps:

Image
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