graphdb-workbench-tests 3.5.0-TR4 → 3.5.0-TR6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ describe('Welcome', () => {
21
21
  cy.deleteRepository(repositoryId);
22
22
  });
23
23
 
24
- it.only('Should shows welcome steps', () => {
24
+ it('Should shows welcome steps', () => {
25
25
  GuideDialogSteps.assertDialogWithTitleIsVisible('Welcome to Welcome — 1/2');
26
26
  GuideDialogSteps.assertDialogWithContentIsVisible('Throughout the guide you will see boxes like this one that will provide instructions on what to do.');
27
27
  GuideDialogSteps.clickOnNextButton();
@@ -20,14 +20,10 @@ function verifyInitialState(repositoryId) {
20
20
  SettingsSteps.getSparqlEditorPanel().should('be.visible');
21
21
  SettingsSteps.getSameAsToggle().should('be.checked');
22
22
  SettingsSteps.getSameAsLabel().should('be.visible')
23
- .and('contain', 'Expand results over owl:SameAs is')
24
- .find('.tag').should('be.visible')
25
- .and('contain', 'ON');
23
+ .and('contain', 'Expand results over owl:SameAs');
26
24
  SettingsSteps.getInferenceToggle().should('be.checked');
27
25
  SettingsSteps.getInferenceLabel().should('be.visible')
28
- .and('contain', 'Inference is')
29
- .find('.tag').should('be.visible')
30
- .and('contain', 'ON');
26
+ .and('contain', 'Enable inference');
31
27
  SettingsSteps.getCountCheckbox().should('be.checked');
32
28
  SettingsSteps.getIgnoreSharedCheckbox().should('not.be.checked');
33
29
 
@@ -188,7 +188,7 @@ describe('My Settings', () => {
188
188
  cy.get('.login-credentials').should('be.visible');
189
189
  cy.get('#wb-user-username').should('be.visible')
190
190
  .and('have.value', 'admin')
191
- .and('have.attr', 'readonly', 'readonly');
191
+ .and('be.disabled');
192
192
  }
193
193
 
194
194
  function clickLabelBtn(btnId) {
@@ -687,22 +687,24 @@ describe('User and Access', () => {
687
687
  // with manage permission are not allowed to set the default repository.
688
688
  RepositorySteps.getSetDefaultRepositoryButton(manageRepositoryId).should('not.exist');
689
689
 
690
+ // And should see the copy action for all repositories.
691
+ RepositorySteps.getCopyRepositoryButton(writeRepositoryId).should('be.visible');
692
+ RepositorySteps.getCopyRepositoryButton(readRepositoryId).should('be.visible');
693
+ RepositorySteps.getCopyRepositoryButton(graphQLOnlyRepositoryId).should('be.visible');
694
+
690
695
  // And no repository management actions should be available for the other repositories.
691
- RepositorySteps.getCopyRepositoryButton(readRepositoryId).should('not.exist');
692
696
  RepositorySteps.getEditRepositoryButton(readRepositoryId).should('not.exist');
693
697
  RepositorySteps.getDownloadRepositoryConfigurationButton(readRepositoryId).should('not.exist');
694
698
  RepositorySteps.getRestartRepositoryButton(readRepositoryId).should('not.exist');
695
699
  RepositorySteps.getDeleteRepositoryButton(readRepositoryId).should('not.exist');
696
700
  RepositorySteps.getSetDefaultRepositoryButton(readRepositoryId).should('not.exist');
697
701
 
698
- RepositorySteps.getCopyRepositoryButton(writeRepositoryId).should('not.exist');
699
702
  RepositorySteps.getEditRepositoryButton(writeRepositoryId).should('not.exist');
700
703
  RepositorySteps.getDownloadRepositoryConfigurationButton(writeRepositoryId).should('not.exist');
701
704
  RepositorySteps.getRestartRepositoryButton(writeRepositoryId).should('not.exist');
702
705
  RepositorySteps.getDeleteRepositoryButton(writeRepositoryId).should('not.exist');
703
706
  RepositorySteps.getSetDefaultRepositoryButton(writeRepositoryId).should('not.exist');
704
707
 
705
- RepositorySteps.getCopyRepositoryButton(graphQLOnlyRepositoryId).should('not.exist');
706
708
  RepositorySteps.getEditRepositoryButton(graphQLOnlyRepositoryId).should('not.exist');
707
709
  RepositorySteps.getDownloadRepositoryConfigurationButton(graphQLOnlyRepositoryId).should('not.exist');
708
710
  RepositorySteps.getRestartRepositoryButton(graphQLOnlyRepositoryId).should('not.exist');