add api-testing to cypress tests

This commit is contained in:
Francis Cao 2025-03-12 10:32:54 -07:00
parent abde966647
commit a407ff4693
13 changed files with 598 additions and 46 deletions

View file

@ -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)