-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
530 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,3 +112,5 @@ dist | |
/playwright-report/ | ||
/blob-report/ | ||
/playwright/.cache/ | ||
/*-snapshots/ | ||
*.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"recommendations": [ | ||
"cs50.vscode-presentation-mode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test.describe.configure({ mode: 'parallel' }); | ||
|
||
// Workers #Tests Duration - All Tests Duration - Single Test | ||
// 1 8 29 3.625 | ||
// 4 8 23 2.875 | ||
// 8 8 32 4 | ||
|
||
|
||
for (const counter of ['0', '1', '2', '3', '4', '5', '6', '7']) { | ||
test(`testing with ${counter}`, async ({ page }) => { | ||
await page.goto('https://demo.applitools.com/'); | ||
await page.getByPlaceholder('Enter your username').click(); | ||
await page.getByPlaceholder('Enter your username').fill('user'); | ||
await page.getByPlaceholder('Enter your password').click(); | ||
await page.getByPlaceholder('Enter your password').fill('password'); | ||
await page.getByRole('link', { name: 'Sign in' }).click(); | ||
await page.locator('.os-icon').first().click(); | ||
await page.getByRole('link', { name: ' Make Payment' }).click(); | ||
await page.getByRole('link', { name: ' Add Account' }).click(); | ||
await page.locator('.avatar-w > img').first().click(); | ||
await page.locator('.menu-w > .logged-user-w > .logged-user-i > .avatar-w > img').click(); | ||
await page.locator('.logged-user-toggler-arrow > .os-icon').click(); | ||
await page.getByRole('link', { name: ' Credit cards' }).click(); | ||
await page.getByRole('link', { name: ' Debit cards' }).click(); | ||
await page.getByRole('link', { name: ' Loans' }).click(); | ||
await page.getByRole('link', { name: ' Mortgages' }).click(); | ||
await page.getByRole('link', { name: 'View Statement ' }).click(); | ||
await expect(page.locator('body')).toContainText('$350'); | ||
await page.locator('.logged-user-w').first().click(); | ||
}); | ||
|
||
} | ||
|
Oops, something went wrong.