mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
add api-testing to cypress tests
This commit is contained in:
parent
abde966647
commit
a407ff4693
13 changed files with 598 additions and 46 deletions
|
|
@ -1,4 +1,4 @@
|
|||
describe('Website tests', () => {
|
||||
describe('User tests', () => {
|
||||
Cypress.session.clearAllSavedSessions();
|
||||
|
||||
beforeEach(() => {
|
||||
|
|
@ -51,7 +51,7 @@ describe('Website tests', () => {
|
|||
cy.url().should('eq', Cypress.config().baseUrl + '/dashboard');
|
||||
});
|
||||
|
||||
it('Delete a website', () => {
|
||||
it('Delete a user', () => {
|
||||
// delete user
|
||||
cy.get('table tbody tr')
|
||||
.contains('td', /Test-user/i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue