Skip to content

Commit 84b7e6a

Browse files
committed
Spitfire Sunflower fixes
1 parent 099d769 commit 84b7e6a

File tree

38 files changed

+133
-101
lines changed

38 files changed

+133
-101
lines changed

cypress.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = defineConfig({
3535
responseTimeout: 60000,
3636
downloadsFolder: 'cypress/downloads',
3737
env: {
38-
OKAPI_HOST: 'https://kong-bugfest-sunflower-aqa.int.aws.folio.org',
38+
OKAPI_HOST: 'https://api-bugfest-sunflower-aqa.int.aws.folio.org',
3939
OKAPI_TENANT: 'fs09000003',
4040
diku_login: 'folio-aqa',
4141
diku_password: 'folio-aqa',

cypress/downloads/quick-export-991.mrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

cypress/e2e/data-import/importing-marc-authority-files/marc-authority-update.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ describe('Data Import', () => {
191191
InventoryInstance.searchResults(testData.authorityTitle);
192192
InventoryInstance.clickLinkButton();
193193
QuickMarcEditor.verifyAfterLinkingAuthority('700');
194-
QuickMarcEditor.saveAndCloseWithValidationWarnings();
194+
QuickMarcEditor.pressSaveAndCloseButton();
195195
QuickMarcEditor.checkAfterSaveAndClose();
196196

197197
TopMenuNavigation.navigateToApp(APPLICATION_NAMES.MARC_AUTHORITY);

cypress/e2e/data-import/importing-marc-authority-files/update-20-linked-marc-authorities-match-by-010.cy.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ describe('Data Import', () => {
296296
cy.loginAsAdmin({
297297
path: TopMenu.inventoryPath,
298298
waiter: InventoryInstances.waitContentLoading,
299+
authRefresh: true,
299300
});
300301

301302
InventoryInstances.searchByTitle(testData.createdRecordIDs[0]);
@@ -313,7 +314,7 @@ describe('Data Import', () => {
313314
);
314315
cy.wait(200);
315316
});
316-
QuickMarcEditor.pressSaveAndClose();
317+
QuickMarcEditor.pressSaveAndCloseButton();
317318
QuickMarcEditor.checkAfterSaveAndClose();
318319
cy.wait(4000);
319320

@@ -333,6 +334,7 @@ describe('Data Import', () => {
333334
cy.login(testData.user.username, testData.user.password, {
334335
path: TopMenu.marcAuthorities,
335336
waiter: MarcAuthorities.waitLoading,
337+
authRefresh: true,
336338
});
337339

338340
MarcAuthorities.waitLoading();

cypress/e2e/data-import/importing-marc-bib-files/import-derive-marc-bib-record-which-has-subfields.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ describe('Data Import', () => {
7474
QuickMarcEditor.updateExistingFieldContent(10, testData.new082fieldRecord);
7575
QuickMarcEditor.updateExistingFieldContent(13, testData.new260fieldRecord);
7676
QuickMarcEditor.pressSaveAndCloseButton();
77-
QuickMarcEditor.checkAfterSaveAndClose();
77+
InventoryInstance.waitLoading();
7878
InventoryInstance.editMarcBibliographicRecord();
7979
QuickMarcEditor.checkFieldContentToEqual(
8080
'textarea[name="records[6].content"]',

cypress/e2e/data-import/importing-marc-bib-files/update-controlled-and-not-controlled-subfields.cy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ describe('Data Import', () => {
122122
cy.loginAsAdmin({
123123
path: TopMenu.inventoryPath,
124124
waiter: InventoryInstances.waitContentLoading,
125+
authRefresh: true,
125126
})
126127
.then(() => {
127128
TopMenuNavigation.openAppFromDropdown(APPLICATION_NAMES.INVENTORY);
@@ -176,6 +177,7 @@ describe('Data Import', () => {
176177
cy.login(testData.userProperties.username, testData.userProperties.password, {
177178
path: TopMenu.inventoryPath,
178179
waiter: InventoryInstances.waitContentLoading,
180+
authRefresh: true,
179181
});
180182
});
181183
});

cypress/e2e/data-import/importing-marc-bib-files/update-several-linked-controllable-subfield0.cy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ describe('Data Import', () => {
131131
cy.loginAsAdmin({
132132
path: TopMenu.inventoryPath,
133133
waiter: InventoryInstances.waitContentLoading,
134+
authRefresh: true,
134135
}).then(() => {
135136
InventoryInstances.searchByTitle(createdAuthorityIDs[0]);
136137
InventoryInstances.selectInstance();
@@ -182,6 +183,7 @@ describe('Data Import', () => {
182183
cy.login(testData.userProperties.username, testData.userProperties.password, {
183184
path: TopMenu.inventoryPath,
184185
waiter: InventoryInstances.waitContentLoading,
186+
authRefresh: true,
185187
});
186188
});
187189
});

cypress/e2e/data-import/importing-marc-bib-files/update-tag-value-of-linked-marcBib-controlled-by-marcAuth.cy.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ describe('Data Import', () => {
170170
cy.loginAsAdmin();
171171
TopMenuNavigation.openAppFromDropdown(APPLICATION_NAMES.INVENTORY);
172172
InventoryInstances.waitContentLoading();
173-
cy.reload();
174-
InventoryInstances.waitContentLoading();
175173
}, 20_000);
176174
InventoryInstances.searchByTitle(createdAuthorityIDs[0]);
177175
InventoryInstances.selectInstance();
@@ -185,7 +183,7 @@ describe('Data Import', () => {
185183
InventoryInstance.clickLinkButton();
186184
QuickMarcEditor.verifyAfterLinkingUsingRowIndex(linking.tag, linking.rowIndex);
187185
});
188-
QuickMarcEditor.pressSaveAndClose();
186+
QuickMarcEditor.pressSaveAndCloseButton();
189187
QuickMarcEditor.checkAfterSaveAndClose();
190188
});
191189
});

cypress/e2e/eholdings/title+package/edit-proxy-selection-for-title-in-package.cy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ describe('eHoldings', () => {
4949
EHoldingsResourceView.goToEdit();
5050
EHoldingsResourceEdit.waitLoading();
5151

52+
cy.getToken(testData.user.username, testData.user.password);
5253
EHoldingsResourceEdit.changeProxy().then((newProxy) => {
5354
testData.firstProxy = newProxy;
5455
EHoldingsResourceEdit.verifyProxiedURLNotDisplayed();

cypress/e2e/eholdings/title+package/verify-loading-indicator-when-changing-package-holdings-status.cy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe('eHoldings', () => {
2626
cy.login(user.username, user.password, {
2727
path: TopMenu.eholdingsPath,
2828
waiter: EHoldingsTitlesSearch.waitLoading,
29+
authRefresh: true,
2930
});
3031
EHoldingSearch.switchToPackages();
3132
});

0 commit comments

Comments
 (0)