Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
30 changes: 21 additions & 9 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,27 @@ on: pull_request

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 12.x
- name: Install
run: npm ci
- name: E2E
run: npm run se2e
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 12.x
- name: Install
run: npm ci
- name: E2E
uses: GabrielBB/xvfb-action@v1.0
with:
run: npm run se2e
- name: Email results
uses: wadeww/send-email-action@master
with:
server_address: smtp.gmail.com
server_port: 465
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: E2E results
body: E2E tests against ${{github.ref}} Status ${{job.status}}
to: wade.w.wilkey@gmail.com
from: meeee
12 changes: 12 additions & 0 deletions se2e/test.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,20 @@ describe("hi", () => {
startTimeout: 20000,
chromeDriverLogPath: "../chromedriverlog.txt"
});

await app.start();
await app.client.waitUntilWindowLoaded();

await new Promise((resolve) => setTimeout(resolve, 30000));

const bounds = await app.browserWindow.getBounds();

console.log('Window Size:', bounds.width, bounds.height);
app.browserWindow.maximize();

const maxBounds = await app.browserWindow.getBounds();
console.log('Max Window Size:', maxBounds.width, maxBounds.height);

});

after(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
</g>
</svg>

<span>{{ title }} app is running!</span>
<span>{{ title }} app is running yeah!</span>

<svg
id="rocket-smoke"
Expand Down