test(e2e): add Cypress scaffold + CI job
This commit is contained in:
7
frontend/cypress/e2e/activity_smoke.cy.ts
Normal file
7
frontend/cypress/e2e/activity_smoke.cy.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
describe("/activity page", () => {
|
||||
it("loads without crashing", () => {
|
||||
cy.visit("/activity");
|
||||
// In secretless/unsigned state, UI should render the signed-out prompt.
|
||||
cy.contains(/sign in to view the feed/i).should("be.visible");
|
||||
});
|
||||
});
|
||||
2
frontend/cypress/support/e2e.ts
Normal file
2
frontend/cypress/support/e2e.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
// Cypress support file.
|
||||
// Place global hooks/commands here.
|
||||
Reference in New Issue
Block a user