Skip to content

Commit

Permalink
Update before-onboarding.cy.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zlwaterfield committed Mar 26, 2024
1 parent 58d1d6b commit 1597ace
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion cypress/e2e/before-onboarding.cy.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
describe('Before Onboarding', () => {
beforeEach(() => {
before(() => {
cy.request({
method: 'PATCH',
url: '/api/projects/1/',
Expand All @@ -8,6 +8,15 @@ describe('Before Onboarding', () => {
})
})

after(() => {
cy.request({
method: 'PATCH',
url: '/api/projects/1/',
body: { completed_snippet_onboarding: true },
headers: { Authorization: 'Bearer e2e_demo_api_key' },
})
})

it('Navigate to /products when a product has not been set up', () => {
cy.visit('/project/1/data-management/events')

Expand Down

0 comments on commit 1597ace

Please sign in to comment.