Skip to content

Commit

Permalink
test: fix e2e tests 5
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowusr committed Oct 23, 2023
1 parent 286fcf8 commit d3140b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions test/func/fixtures/playwright/tests/failed-describe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ test.describe('failed describe', () => {
test.skip(true, 'foo-bar');
});

// TODO: fix screenshot
test.skip('test with successful assertView and error', async ({page, baseURL}) => {
test('test with successful assertView and error', async ({page, baseURL}) => {
await page.goto(baseURL as string);

await expect(page.locator('header')).toHaveScreenshot('header-success.png');
Expand Down
1 change: 1 addition & 0 deletions test/func/tests/common/test-results-appearance.hermione.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ describe('Test results appearance', () => {
});

describe('Test with successful assertView and error', () => {
hermione.only.in('chrome');

Check failure on line 136 in test/func/tests/common/test-results-appearance.hermione.js

View workflow job for this annotation

GitHub Actions / build (16.x)

'hermione' is not defined

Check failure on line 136 in test/func/tests/common/test-results-appearance.hermione.js

View workflow job for this annotation

GitHub Actions / build (18.x)

'hermione' is not defined

Check failure on line 136 in test/func/tests/common/test-results-appearance.hermione.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'hermione' is not defined
it('should display error message, name and stack', async ({browser}) => {
for (const field of ['message', 'name', 'stack']) {
const errorMessage = browser.$(
Expand Down

0 comments on commit d3140b3

Please sign in to comment.