Skip to content

Commit

Permalink
Formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
josdem committed Feb 28, 2024
1 parent 20bb8f9 commit c09b7c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
package-lock.json
playwright-report/
playwright-report/
allure-results/
10 changes: 5 additions & 5 deletions tests/home.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ const properties = require("../properties/test.properties")

test.beforeAll(async () => {
test.info().annotations.push({
type: 'story',
description: 'https://github.com/josdem/playwright-workshop/issues/10',
type: "story",
description: "https://github.com/josdem/playwright-workshop/issues/10",
})
test.info().annotations.push({
type: 'time',
type: "time",
description: `${new Date()}`,
})
})

test("should validate page title", async ({ page }) => {
await allure.tags("home", "guest", "title")
await allure.epic("OR-2716");
await allure.story("OR-4197");
await allure.epic("OR-2716")
await allure.story("OR-4197")
await allure.issue("tags", "https://github.com/josdem/playwright-workshop/issues/12")
await page.goto(properties.url)
await expect(page).toHaveTitle(properties.title)
Expand Down

0 comments on commit c09b7c1

Please sign in to comment.