Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
admin/admin
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Jan 6, 2022
1 parent 5830a61 commit 67cc9e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Cypress.Commands.add('autologin', () => {
let api_url, user, password;
api_url = Cypress.env('API_PATH') || 'http://localhost:8080/Plone';
user = 'admin';
password = 'secret';
password = 'admin';

return cy
.request({
Expand All @@ -31,7 +31,7 @@ Cypress.Commands.add(
api_url = Cypress.env('API_PATH') || 'http://localhost:8080/Plone';
auth = {
user: 'admin',
pass: 'secret',
pass: 'admin',
};
if (contentType === 'File') {
return cy.request({
Expand Down Expand Up @@ -131,7 +131,7 @@ Cypress.Commands.add('removeContent', (path) => {
api_url = Cypress.env('API_PATH') || 'http://localhost:8080/Plone';
auth = {
user: 'admin',
pass: 'secret',
pass: 'admin',
};
return cy
.request({
Expand Down Expand Up @@ -164,7 +164,7 @@ Cypress.Commands.add(
api_url = Cypress.env('API_PATH') || 'http://localhost:8080/Plone';
auth = {
user: 'admin',
pass: 'secret',
pass: 'admin',
};
return cy.request({
method: 'POST',
Expand Down

0 comments on commit 67cc9e6

Please sign in to comment.