Skip to content

Commit

Permalink
playwright version
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Sep 19, 2023
1 parent 45eedb7 commit 1ff971e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"xlsx": "^0.18.5"
},
"devDependencies": {
"@playwright/test": "^1.20.0",
"@playwright/test": "1.37.0",
"@types/bootstrap": "^5.2.6",
"@types/jest": "^27.4.0",
"@types/markdown-it": "^12.2.3",
Expand Down
2 changes: 1 addition & 1 deletion app/static/tests/e2e/code.etest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ test.describe("Code Tab tests", () => {
await page.click("#reset-btn");
await page.waitForResponse((response) => response.url().includes("/odin"));
expect(await page.innerText(".wodin-left .wodin-content .editor-container")).toBe(defaultCode);
await expect(await page.locator(".wodin-left .wodin-content #code-status")).toHaveText("Code is valid");
await expect(await page.innerText(".wodin-left .wodin-content #code-status")).toContain("Code is valid");
});

test("can display error message on code tab", async ({ page }) => {
Expand Down

0 comments on commit 1ff971e

Please sign in to comment.