diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f54723d5..8be16a5c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,6 @@ jobs: - name: Run integration tests uses: cypress-io/github-action@v6 with: - browser: chrome start: npm start install: false - wait-on: http://[::1]:4200 + wait-on: http://localhost:4200 diff --git a/README.adoc b/README.adoc index 08840862..ba7fedbf 100644 --- a/README.adoc +++ b/README.adoc @@ -624,7 +624,7 @@ Modify `EditComponent` to import model and service classes and to use the `Searc [source,typescript] .src/app/edit/edit.component.ts ---- -import { Component, OnInit, OnDestroy } from '@angular/core'; +import { Component, OnDestroy, OnInit } from '@angular/core'; import { Person, SearchService } from '../shared'; import { Subscription } from 'rxjs'; import { ActivatedRoute, Router } from '@angular/router'; @@ -1380,11 +1380,9 @@ jobs: browser: chrome start: npm start install: false - wait-on: http://[::1]:4200 + wait-on: http://localhost:4200 ---- -TIP: See https://github.com/cypress-io/github-action/issues/634[issue #634] for more information on the strange syntax for `wait-on`. - Check it in on a branch, create a pull request for that branch, and you should see your tests running. === Jenkins