Skip to content

Commit

Permalink
test(playwright): Convert Cypress tests to Playwright - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
xrutayisire committed Dec 15, 2023
1 parent 02e51de commit 1d4b620
Show file tree
Hide file tree
Showing 28 changed files with 574 additions and 496 deletions.
45 changes: 0 additions & 45 deletions cypress/e2e/updates/changelog.cy.js

This file was deleted.

72 changes: 0 additions & 72 deletions cypress/e2e/updates/sidebar.cy.js

This file was deleted.

74 changes: 0 additions & 74 deletions cypress/e2e/updates/simulator-tooltip.cy.js

This file was deleted.

75 changes: 0 additions & 75 deletions cypress/e2e/updates/video-tooltip.cy.js

This file was deleted.

2 changes: 1 addition & 1 deletion e2e-projects/next/slicemachine.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"slices/navigation"
],
"adapter": "@slicemachine/adapter-next",
"localSliceSimulatorURL": "http://localhost:8000/slice-simulator"
"localSliceSimulatorURL": "http://localhost:3000/slice-simulator"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dev:slice-machine-ui": "yarn workspace slice-machine-ui dev",
"dev:adapter-next": "yarn workspace @slicemachine/adapter-next dev",
"dev:adapter-sveltekit": "yarn workspace @slicemachine/adapter-sveltekit dev",
"dev:e2e-next": "cd ./e2e-projects/next && yarn dev --port 8000",
"dev:e2e-next": "cd ./e2e-projects/next && yarn dev",
"clean-e2e-projects": "git checkout e2e-projects/ && git clean -f e2e-projects/",
"postinstall": "husky install",
"build": "yarn workspaces foreach --topological-dev --verbose run build && yarn run test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const ChangesListItem: FC = () => {
When you click Save, your changes are saved locally. Then, you can push
your models to Prismic from the Changes page.
</HoverCardDescription>
<HoverCardCloseButton>Got It</HoverCardCloseButton>
<HoverCardCloseButton>Got it</HoverCardCloseButton>
</HoverCard>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const SimulatorOnboardingTooltip: React.FC<
Minimize context-switching by previewing your Slice components in the
simulator.
</HoverCardDescription>
<HoverCardCloseButton>Got It</HoverCardCloseButton>
<HoverCardCloseButton>Got it</HoverCardCloseButton>
</HoverCard>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Image = {
Lorem ipsum dolor sit amet consectetur. Aenean purus aliquam vel eget
vitae etiam
</HoverCardDescription>
<HoverCardCloseButton>Got It</HoverCardCloseButton>
<HoverCardCloseButton>Got it</HoverCardCloseButton>
</>
),
},
Expand All @@ -62,7 +62,7 @@ export const Video = {
Lorem ipsum dolor sit amet consectetur. Aenean purus aliquam vel eget
vitae etiam
</HoverCardDescription>
<HoverCardCloseButton>Got It</HoverCardCloseButton>
<HoverCardCloseButton>Got it</HoverCardCloseButton>
</>
),
},
Expand Down
5 changes: 0 additions & 5 deletions playwright/.env.local.example

This file was deleted.

Loading

0 comments on commit 1d4b620

Please sign in to comment.