Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fixes #4393

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ describe('Inventory', () => {
'C368482 Browse and Search capabilities are separated\n (spitfire) (TaaS)',
{ tags: ['criticalPath', 'spitfire', 'C368482'] },
() => {
cy.wait(3000);
InventorySearchAndFilter.switchToBrowseTab();
InventorySearchAndFilter.switchToSearchTab();
InventorySearchAndFilter.verifySearchAndFilterPane();
InventoryInstances.verifyInstanceSearchOptions();
InventorySearchAndFilter.switchToBrowseTab();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ describe('MARC', () => {
'\\',
'0',
'$a Lesbian activists',
'$z Jamaica $v Biography.',
'',
'$0 http://id.loc.gov/authorities/subjects/sh96007532',
'',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ describe('MARC', () => {
const createdAuthorityIDs = [];

before('Creating user', () => {
cy.getAdminToken();
// make sure there are no duplicate records in the system
MarcAuthorities.deleteMarcAuthorityByTitleViaAPI('C440114*');

cy.createTempUser([
Permissions.inventoryAll.gui,
Permissions.uiMarcAuthoritiesAuthorityRecordView.gui,
Expand Down
2 changes: 1 addition & 1 deletion cypress/fixtures/marcBibC375163.mrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
01685cam a2200385Ii 41y00010009000000050017000090080041000260030004000670400028000710200015000990200031001140350022001450500027001670820014001941000086002082450108002942640049004023000027004513360068004783370068005463380065006145200205006796000022008846100017009066500016009236500016009396500016009556500016009716500016009877000078010037000020010819030009011019280086011109270103011961194806420191023111031.6191004s2019 ilua 000 p eng dICU aCOObengerdacCOOdUOK a1642590258 a9781642590258q(paperback) a(OCoLC)1122747273 4aPR9265.9.C53bC76 2019 4a811.62231 aC375163 Chin, Staceyann,d1972-eAuthoreNarrator 1http://viaf.org/viaf/2407405210aTestfire :ba litany for survival : poems 1998-2019 /cStaceyann Chin ; foreword by Jacqueline Woodson. 1aChicago, Illinois :bHaymarket Books,c2019. axi, 208 pages ;c23 cm atext2rdacontent0http://id.loc.gov/vocabulary/contentTypes/txt aunmediated2rdamedia0http://id.loc.gov/vocabulary/mediaTypes/n avolume2rdacarrier0http://id.loc.gov/vocabulary/carriers/nc a"Crossfire collects world-renowned lesbian poet and spoken-word artist Staceyann Chin's empowering, feminist-LGBTQ-Caribbean, activism-driven poetry for the first time in a single book."-- Back cover. aC375163 SuperCorp aC375163 Acme aBTestValue1 aBTestValue2 aBTestValue3 aBTestValue4 aBTestValue51 aWoodson, Jacqueline,ewriter of foreword. 1http://viaf.org/viaf/791171201 aChin, Staceyann aHeVa tLibrary of Congress classificationaPR9265.9.C53 C76 2019lJRLcJRL-Geni11444263 tLibrary of Congress classificationaPR9265.9.C53 C76 2019lJRLcJRL-GeneHESMb116492753i10165013
01677cam a2200385Ii 41y00010009000000050017000090080041000260030004000670400028000710200015000990200031001140350022001450500027001670820014001941000086002082450108002942640049004023000027004513360068004783370068005463380065006145200205006796000022008846100009009066500016009156500016009316500016009476500016009636500016009797000078009957000020010739030009010939280086011029270103011881194806420191023111031.6191004s2019 ilua 000 p eng dICU aCOObengerdacCOOdUOK a1642590258 a9781642590258q(paperback) a(OCoLC)1122747273 4aPR9265.9.C53bC76 2019 4a811.62231 aC375163 Chin, Staceyann,d1972-eAuthoreNarrator 1http://viaf.org/viaf/2407405210aTestfire :ba litany for survival : poems 1998-2019 /cStaceyann Chin ; foreword by Jacqueline Woodson. 1aChicago, Illinois :bHaymarket Books,c2019. axi, 208 pages ;c23 cm atext2rdacontent0http://id.loc.gov/vocabulary/contentTypes/txt aunmediated2rdamedia0http://id.loc.gov/vocabulary/mediaTypes/n avolume2rdacarrier0http://id.loc.gov/vocabulary/carriers/nc a"Crossfire collects world-renowned lesbian poet and spoken-word artist Staceyann Chin's empowering, feminist-LGBTQ-Caribbean, activism-driven poetry for the first time in a single book."-- Back cover. aC375163 SuperCorp aAcme aBTestValue1 aBTestValue2 aBTestValue3 aBTestValue4 aBTestValue51 aWoodson, Jacqueline,ewriter of foreword. 1http://viaf.org/viaf/791171201 aChin, Staceyann aHeVa tLibrary of Congress classificationaPR9265.9.C53 C76 2019lJRLcJRL-Geni11444263 tLibrary of Congress classificationaPR9265.9.C53 C76 2019lJRLcJRL-GeneHESMb116492753i10165013
2 changes: 1 addition & 1 deletion cypress/support/dictionary/permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default {
// Inventory
// TODO: gui name related with several internal names. Clarify the reason
inventoryAll: {
internal: ['inventory.all', 'Inventory: All permissions'],
internal: ['ui-inventory.all', 'Inventory: All permissions'],
gui: 'Inventory: All permissions',
},
uiCallNumberBrowse: {
Expand Down
Loading