graphdb-workbench-tests 3.4.0-RC2 → 3.4.0-RC3
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.
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import HomeSteps from '../../steps/home-steps';
|
|
2
|
+
import {RepositoriesStubs} from "../../stubs/repositories/repositories-stubs.js";
|
|
2
3
|
|
|
3
4
|
describe('Create repository', () => {
|
|
4
5
|
|
|
5
6
|
beforeEach(() => {
|
|
6
7
|
cy.viewport(1280, 1000);
|
|
7
8
|
HomeSteps.visitAndWaitLoader();
|
|
9
|
+
RepositoriesStubs.spyGetRepositories();
|
|
10
|
+
cy.wait('@getRepositories');
|
|
11
|
+
// Due to the ongoing migration, there are currently 2 requests to get repositories on init (one from the legacy and one from the new workbench).
|
|
12
|
+
// This will be removed once migration is complete (or at least the repository part of it)
|
|
13
|
+
cy.wait('@getRepositories');
|
|
8
14
|
});
|
|
9
15
|
|
|
10
16
|
it('Test create and select new repository via home page', () => {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphdb-workbench-tests",
|
|
3
|
-
"version": "3.4.0-
|
|
3
|
+
"version": "3.4.0-RC3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "graphdb-workbench-tests",
|
|
9
|
-
"version": "3.4.0-
|
|
9
|
+
"version": "3.4.0-RC3",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@bahmutov/cypress-code-coverage": "^2.7.2",
|
package/package.json
CHANGED
package/steps/home-steps.js
CHANGED
|
@@ -200,13 +200,10 @@ class HomeSteps extends BaseSteps {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
static verifyCreateRepositoryLink() {
|
|
203
|
-
|
|
204
|
-
.
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
.url()
|
|
208
|
-
.should('eq', Cypress.config('baseUrl') + '/repository/create?previous=%2F');
|
|
209
|
-
});
|
|
203
|
+
HomeSteps.getCreateRepositoryLink()
|
|
204
|
+
.click()
|
|
205
|
+
.url()
|
|
206
|
+
.should('eq', Cypress.config('baseUrl') + '/repository/create?previous=%2F');
|
|
210
207
|
cy.get('.big-logo').click();
|
|
211
208
|
}
|
|
212
209
|
|