Skip to content

Commit

Permalink
Merge pull request #2 from Schpenn/mappe
Browse files Browse the repository at this point in the history
Mappe
  • Loading branch information
Schpenn authored Apr 26, 2024
2 parents 871c6c3 + f429600 commit 6790a6b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cucumber.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"require": [
"src/test/steps/*.ts",
"src/hooks/hooks.ts"
"src/test/steps/hooks/hooks.ts"
],
"requireModule": [
"ts-node/register"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/test/steps/playwrightExampleSteps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Given, When, Then } from '@cucumber/cucumber';
import { expect } from '@playwright/test';
import { pageFixture } from "../../hooks/pageFixture";
import { pageFixture } from "./hooks/pageFixture";

Given('I navigate to the Website', async () =>{
// browser = await chromium.launch({headless:false});
Expand Down
3 changes: 3 additions & 0 deletions tests/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ test('has title', async ({ page }) => {
await expect(page).toHaveTitle(/Playwright/);
});




//Given I navigate to the website
//When I click on 'Get started'
//Then I should see the heading 'Installation'
Expand Down

0 comments on commit 6790a6b

Please sign in to comment.