Run browser tests in CI #10

Merged
clement.freville2 merged 2 commits from fix/tests into master 6 months ago
There is no content yet.
clement.freville2 added 1 commit 6 months ago
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
c5b4169365
Run browser tests in CI
clement.freville2 requested review from bastien.ollier 6 months ago
clement.freville2 requested review from hugo.pradier2 6 months ago
clement.freville2 requested review from matis.mazingue 6 months ago
bastien.ollier approved these changes 6 months ago
Dismissed
bastien.ollier removed review request for matis.mazingue 6 months ago
bastien.ollier removed review request for hugo.pradier2 6 months ago
bastien.ollier approved these changes 6 months ago
Dismissed
- npm run build
- name: test
image: timbru31/node-chrome:20-slim
Owner
image: timbru31/node-chrome:latest
image: timbru31/node-chrome:latest
Poster
Owner

It is a better choice to not use latest Docker image for reproducibility.

It is a better choice to not use latest Docker image for reproducibility.
clement.freville2 marked this conversation as resolved
]
},
reporters: ['progress', 'kjhtml'],
browsers: ['Chrome'],
Owner
browsers: ['Chrome','Firefox','Netscape'], 
browsers: ['Chrome','Firefox','Netscape'],
clement.freville2 marked this conversation as resolved
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain(
'sandkasten app is running!'
Owner
  'sandkasten app is running, right now!' 
'sandkasten app is running, right now!'
clement.freville2 marked this conversation as resolved
bastien.ollier dismissed bastien.ollier’s review 6 months ago
clement.freville2 added 1 commit 6 months ago
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
d58909a33a
Allow running tests with Firefox
clement.freville2 merged commit 38eae2ed53 into master 6 months ago
clement.freville2 referenced this issue from a commit 6 months ago
clement.freville2 deleted branch fix/tests 6 months ago

Reviewers

bastien.ollier was requested for review 6 months ago
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
The pull request has been merged as 38eae2ed53.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: sandkasten/sandkasten-web#10
Loading…
There is no content yet.