Skip to content

Commit 38c58d8

Browse files
authored
add: angular-universal-ssr to ci (#2734)
1 parent 3a8414a commit 38c58d8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

angular-universal-ssr/e2e/methods/methods.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class AngularUniversalSsrMethods extends BaseMethods {
2929
addedCities.forEach((city: string, counter: number) => {
3030
cy.get(addedCitySelector).contains(city).click()
3131
cy.get(selectedCityInfoSelector).contains(selectedCityInfo[counter]).should('be.visible')
32-
this.reloadWindow()
32+
cy.reload(true)
3333
cy.get(selectedCityInfoSelector).should('not.exist')
3434
})
3535
});

angular-universal-ssr/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"start": "yarn build && yarn serve",
1111
"build": "lerna run --scope=angular-universal-ssr_* build:federation",
1212
"serve": "lerna run --scope=angular-universal-ssr_* --parallel serve:federation",
13-
"clean": "lerna run --scope=angular-universal-ssr_* --parallel clean"
13+
"clean": "lerna run --scope=angular-universal-ssr_* --parallel clean",
14+
"e2e:ci": "yarn build && yarn serve & wait-on http://localhost:4000 && npx cypress run --config-file ../cypress/config/cypress.config.ts --config '{\"supportFile\": \"../cypress/support/e2e.ts\"}' --spec \"./e2e/tests/runAll.cy.ts\" --browser=chrome"
1415
},
1516
"devDependencies": {
1617
"lerna": "3.22.1"

0 commit comments

Comments
 (0)