-
Notifications
You must be signed in to change notification settings - Fork 130
Report skipped hermione tests #697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7fab59a
b1617c3
e6c965e
9bac8b1
512744e
34ec055
660a923
0466e93
ec73e09
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| it("adds json attachment", async ({ browser, currentTest }) => { | ||
| it("json", async ({ browser, currentTest }) => { | ||
| await browser.attach(currentTest.id(), JSON.stringify({ foo: "bar" }), "application/json"); | ||
| }); |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| it("custom", async ({ browser, currentTest }) => { | ||
| await browser.label(currentTest.id(), "foo", "bar"); | ||
| }); | ||
|
|
||
| it("allureId", async ({ browser, currentTest }) => { | ||
| await browser.id(currentTest.id(), "42"); | ||
| }); | ||
|
|
||
| it("epic", async ({ browser, currentTest }) => { | ||
| await browser.epic(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("owner", async ({ browser, currentTest }) => { | ||
| await browser.owner(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("parentSuite", async ({ browser, currentTest }) => { | ||
| await browser.parentSuite(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("subSuite", async ({ browser, currentTest }) => { | ||
| await browser.subSuite(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("severity", async ({ browser, currentTest }) => { | ||
| await browser.severity(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("story", async ({ browser, currentTest }) => { | ||
| await browser.story(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("suite", async ({ browser, currentTest }) => { | ||
| await browser.suite(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("tag", async ({ browser, currentTest }) => { | ||
| await browser.tag(currentTest.id(), "foo"); | ||
| }); | ||
|
|
||
| it("feature", async ({ browser, currentTest }) => { | ||
| await browser.feature(currentTest.id(), "foo"); | ||
| }); |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| it("custom", async ({ browser, currentTest }) => { | ||
| await browser.link(currentTest.id(), "http://example.org", "bar", "foo"); | ||
| }); | ||
|
|
||
| it("tms", async ({ browser, currentTest }) => { | ||
| await browser.tms(currentTest.id(), "foo", "http://example.org"); | ||
| }); | ||
|
|
||
| it("issue", async ({ browser, currentTest }) => { | ||
| await browser.issue(currentTest.id(), "foo", "http://example.org"); | ||
| }); |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| it.skip("native", () => {}); | ||
|
|
||
| describe("", () => { | ||
| it.skip("suite", () => {}); | ||
| }); | ||
|
|
||
| describe("", () => { | ||
| hermione.skip.in("headless"); | ||
| it("browser", () => {}); | ||
| }); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| it("passed", async ({ browser, currentTest }) => { | ||
| await browser.step(currentTest.id(), "first step name", async (s1) => { | ||
| await s1.step("second step name", async (s2) => { | ||
| await s2.step("third step name", (s3) => { | ||
| s3.label("foo", "bar"); | ||
| }); | ||
| }); | ||
| }); | ||
| }); | ||
|
|
||
| it("failed", async ({ browser, currentTest }) => { | ||
| await browser.step(currentTest.id(), "first step name", async (s1) => { | ||
| await s1.step("second step name", async (s2) => { | ||
| await s2.step("third step name", (s3) => { | ||
| throw new Error("foo"); | ||
| }); | ||
| }); | ||
| }); | ||
| }); |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we also need fixture for the
describe.skip?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They actually have problem with tests only, let's keep this implementation only for tests and add suites handling later