mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
0752ec5e05
* 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
9 lines
327 B
TypeScript
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");
|
|
});
|