forked from chaynHQ/bloom-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix urls * Create sitemap e2e tests * Simplify tests cases after review feedback * Remove about our courses url after review feedback
- Loading branch information
Showing
2 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
describe('Sitemap should have', () => { | ||
const SITEMAP_URL = '/sitemap.xml'; | ||
const BLOOM_URL = 'https://bloom.chayn.co'; | ||
before(() => { | ||
cy.cleanUpTestState(); | ||
}); | ||
|
||
it('bloom url', () => { | ||
cy.request(SITEMAP_URL).its('body').should('include', BLOOM_URL); | ||
}); | ||
it('meet the team url', () => { | ||
cy.request(SITEMAP_URL) | ||
.its('body') | ||
.should('include', BLOOM_URL + '/meet-the-team'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters