Skip to content

Commit

Permalink
e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Aug 17, 2024
1 parent fad600d commit a7fd966
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/end-to-end/official-site.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test('form example', async ({ page }) => {

test('File upload', async ({ page }) => {
await page.goto(BASE);
await page.getByRole('link', { name: 'Examples', exact: true }).click();
await page.getByRole('button', { name: 'Examples', exact: true }).click();
await page.getByText('File uploads').click();
const my_svg = '<svg><text y="20">Hello World</text></svg>';
// @ts-ignore
Expand Down
4 changes: 3 additions & 1 deletion tests/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {},
"scripts": {
"test": "playwright test"
},
"keywords": [],
"author": "",
"license": "ISC",
Expand Down

0 comments on commit a7fd966

Please sign in to comment.