Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: npm ci
- name: Launch web server
run: ./node_modules/http-server/bin/http-server &
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v2
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 2
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.DS_Store
node_modules/
test-results/
playwright-report/
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ <h2>Our Blog</h2>
<div class="blog_box">
<div class="blog_img_box">
<figure><img src="images/blog_img1.png" alt="#"/>
<span>02 FEB 2019</span>
<span>02 FEB 2009</span>
</figure>
</div>
<h3>Spicy Barger</h3>
Expand All @@ -341,7 +341,7 @@ <h3>Spicy Barger</h3>
<div class="blog_box">
<div class="blog_img_box">
<figure><img src="images/blog_img2.png" alt="#"/>
<span>02 FEB 2019</span>
<span>02 FEB 2009</span>
</figure>
</div>
<h3>Egg & Tosh</h3>
Expand All @@ -352,7 +352,7 @@ <h3>Egg & Tosh</h3>
<div class="blog_box">
<div class="blog_img_box">
<figure><img src="images/blog_img3.png" alt="#"/>
<span>02 FEB 2019</span>
<span>02 FEB 2009</span>
</figure>
</div>
<h3>Pizza</h3>
Expand Down Expand Up @@ -390,7 +390,7 @@ <h3>Alan Gonzalez</h3>
<!-- end Our Client -->
</div>
<!-- footer -->
<fooetr>
<footer>
<div class="footer">
<div class="container-fluid">
<div class="row">
Expand Down Expand Up @@ -458,7 +458,7 @@ <h3>Newsletter</h3>
</div>
</div>
</div>
</fooetr>
</footer>
<!-- end footer -->

</div>
Expand Down
Loading