Skip to content

Commit

Permalink
changed function
Browse files Browse the repository at this point in the history
  • Loading branch information
TetianaParanich committed Sep 17, 2024
1 parent a17fcd6 commit de3ba94
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const newRoomButtoncss = 'button[id^="clickable-add-reading-room"]';
const editRoomButtonCss = 'button[id^="clickable-edit-reading-room"]';
const deleteRoomCss = 'button[id^="clickable-delete-reading-room"]';

const servicePoint = 'Circ Desk 1';
// const servicePoint = 'Circ Desk 1';
const readingRoomName = `Autotest_Reading_Room${getRandomPostfix()}`;
const recordLoadRetries = 10;
const recordLoadWait = 15000;
Expand Down Expand Up @@ -43,7 +43,7 @@ export default {
cy.get(editRoomButtonCss).should('not.exist');
cy.get(deleteRoomCss).should('not.exist');
},
createReadingRoomViaApi(servicePointId, readingRoomId, publicState = true) {
createReadingRoomViaApi(servicePointId, servicePointName, readingRoomId, publicState = true) {
return cy.okapiRequest({
method: 'POST',
path: 'reading-room',
Expand All @@ -53,7 +53,7 @@ export default {
servicePoints: [
{
value: servicePointId,
label: `${servicePoint}`,
label: servicePointName,
},
],
id: readingRoomId,
Expand Down

0 comments on commit de3ba94

Please sign in to comment.