Skip to content

Commit

Permalink
update 2024-10-03T09:48:37
Browse files Browse the repository at this point in the history
  • Loading branch information
qameta-ci committed Oct 3, 2024
1 parent 4f382c3 commit 9effbe0
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/allure-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: simple-elf/[email protected]
if: always()
with:
allure_results: allure-results
allure_results: ./out/allure-results
allure_history: allure-history

- name: Publish Allure Report
Expand Down
7 changes: 0 additions & 7 deletions .gitignore

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"devDependencies": {
"@playwright/test": "^1.30.0",
"@types/node": "^22.7.4",
"allure-js-commons": "^3.0.3",
"allure-playwright": "^3.0.3"
"allure-js-commons": "^3.0.4",
"allure-playwright": "^3.0.4"
},
"packageManager": "[email protected]"
}
12 changes: 4 additions & 8 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import type { PlaywrightTestConfig } from "@playwright/test";
import { devices } from "@playwright/test";
import { defineConfig, devices } from "@playwright/test";

const config: PlaywrightTestConfig = {
export default defineConfig({
testDir: "./test",
reporter: [
["list"],
[
"allure-playwright",
{
outputFolder: "./out/allure-results",
resultsDir: "./out/allure-results",
environmentInfo: {
node_version: process.version,
},
Expand All @@ -23,7 +22,4 @@ const config: PlaywrightTestConfig = {
},
},
],
outputDir: "test-results/",
};

export default config;
});
6 changes: 3 additions & 3 deletions test/legacy.test.ts → test/sample.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { test } from "@playwright/test";
import { allure } from "allure-playwright";
import * as allure from "allure-js-commons";

test("test with links", async() => {
test("sample test", async () => {
await allure.links(...[{ url: "https://example.org"}]);
await allure.owner("John Doe x");
await allure.owner("John Doe");
await allure.issue("JIRA-2", "https://example.org");
await allure.step("step 1", async () => {
await allure.step("step 1.2", async () => {
Expand Down
32 changes: 12 additions & 20 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ __metadata:
dependencies:
"@playwright/test": "npm:^1.30.0"
"@types/node": "npm:^22.7.4"
allure-js-commons: "npm:^3.0.3"
allure-playwright: "npm:^3.0.3"
allure-js-commons: "npm:^3.0.4"
allure-playwright: "npm:^3.0.4"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -105,29 +105,28 @@ __metadata:
languageName: node
linkType: hard

"allure-js-commons@npm:3.0.3, allure-js-commons@npm:^3.0.3":
version: 3.0.3
resolution: "allure-js-commons@npm:3.0.3"
"allure-js-commons@npm:3.0.4, allure-js-commons@npm:^3.0.4":
version: 3.0.4
resolution: "allure-js-commons@npm:3.0.4"
dependencies:
md5: "npm:^2.3.0"
properties: "npm:^1.2.1"
peerDependencies:
allure-playwright: 3.0.3
allure-playwright: 3.0.4
peerDependenciesMeta:
allure-playwright:
optional: true
checksum: 10c0/f12e3da4d68f7dc33968dbaf1eea63f727c4730d318556c3d4f7edab829e9282236c7b05603d5fac211f095e2cd324649a64f91cefdc3c363037c9b55fcf42c6
checksum: 10c0/17204f3da0d742aed62ddc2c3a242decd5727fd158cb30d81005321b36d8237f8979b56ceec76abb3f2414051999d7bdb9bbdcefe1bf6a102b96681ff623e4bd
languageName: node
linkType: hard

"allure-playwright@npm:^3.0.3":
version: 3.0.3
resolution: "allure-playwright@npm:3.0.3"
"allure-playwright@npm:^3.0.4":
version: 3.0.4
resolution: "allure-playwright@npm:3.0.4"
dependencies:
allure-js-commons: "npm:3.0.3"
allure-js-commons: "npm:3.0.4"
peerDependencies:
"@playwright/test": ">=1.36.0"
checksum: 10c0/e858cea3aa757b26ef04b2a5bcf05394878fe136797be36bcfc061572fbc811c33afbd4e9379966c8daae87f756409284119ba90b2a0b951f16dcd8f504a78b1
checksum: 10c0/8d593a8695208bf2a054520d9dda28d0822ccf3f9bb9290b8784912132affef0857e12a704ef7a2e5b53dcc1a760ac0daf0ad5382337afb1538917fba8b9c00c
languageName: node
linkType: hard

Expand Down Expand Up @@ -759,13 +758,6 @@ __metadata:
languageName: node
linkType: hard

"properties@npm:^1.2.1":
version: 1.2.1
resolution: "properties@npm:1.2.1"
checksum: 10c0/c6ed008981dbe66e5d622064559166924d6bd56a0b9c4dcb41889457c47467683bda4091c69c348bf703051f95d8fa53cac4dc658172f9f752c00b8622dbc708
languageName: node
linkType: hard

"retry@npm:^0.12.0":
version: 0.12.0
resolution: "retry@npm:0.12.0"
Expand Down

0 comments on commit 9effbe0

Please sign in to comment.