Hangar/e2e/tests/pages/LinkoutPage.ts
MiniDigger | Martin 0752ec5e05
feat: introduce auto imports and add e2e tests (#1318)
* chore: introduce auto imports

most likely broken as hell

* more progress

* chore(deps): update deps

* progress!

* feat: add initial e2e test setup

* test: cleanup e2e tests and add a github action

* test: adjust screen size to be 1080p

* test: make test a bit more resilient

* test: allow setting the debug var via workflow dispatch

* test: moar e2e tests
2024-03-23 15:24:38 +01:00

9 lines
327 B
TypeScript

Feature("Linkout Page");
Scenario("Test Linkout", async ({ I, util, IndexPage }) => {
util.openHangarPage("/linkout?remoteUrl=https://google.com");
I.seeElement(locate("a").withAttr({ href: "https://google.com" }));
I.click(locate("a").withAttr({ href: "https://google.com" }));
I.waitInUrl("google.com");
});