Skip to content

Setup cypress #3436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
May 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
69a991a
Setup Cypress tests for box and button
jgthms Oct 30, 2021
74b9b1e
Add container tests
jgthms Oct 30, 2021
5f0932f
Add Cypress workflow
jgthms Oct 30, 2021
2878a0e
Use npm install
jgthms Oct 30, 2021
f777b44
Update Cypress workflow
jgthms Oct 30, 2021
ce8349d
Add Jekyll build
jgthms Oct 30, 2021
20c8639
Test other action
jgthms Oct 30, 2021
cca41fd
Test custom setup
jgthms Oct 30, 2021
5903d62
Use other ruby action
jgthms Oct 30, 2021
7d14180
Test without flag
jgthms Oct 30, 2021
4244751
Move cypress to docs folder
jgthms Oct 31, 2021
8a27780
Record runs
jgthms Oct 31, 2021
c789778
Add Content, Icon, Image specs
jgthms Oct 31, 2021
6ec2520
Add Notification specs
jgthms Oct 31, 2021
7e989d5
Add Progress and Table specs
jgthms Nov 1, 2021
1829e07
Add Tags specs
jgthms Nov 1, 2021
07f3223
Add Title specs
jgthms Nov 1, 2021
0ef5fce
Add breadcrumb specs
jgthms Nov 1, 2021
73c6998
Add more specs
jgthms Nov 5, 2021
6df351f
Add media specs
jgthms Nov 5, 2021
ce8d4fa
Add menu specs
jgthms Nov 5, 2021
9aefad3
Add modal specs
jgthms Nov 5, 2021
8e9f798
Add navbar specs
jgthms Nov 6, 2021
492cfb6
Add pagination specs
jgthms Nov 7, 2021
db4e160
Add panel specs
jgthms Nov 7, 2021
41e28cf
Add tabs specs, Add form checkbox radio specs
jgthms Nov 9, 2021
2a4ba6b
Add utils
jgthms Nov 12, 2021
9edad35
Add file specs
jgthms May 1, 2022
356a572
Add input textarea specs
jgthms May 1, 2022
3c41317
Add select specs
jgthms May 2, 2022
62142e5
Merge branch 'master' into setup-cypress
jgthms May 7, 2022
2335f60
Merge branch 'setup-cypress' of github.com:jgthms/bulma into setup-cy…
jgthms May 7, 2022
38abcc3
Add form tools specs
jgthms May 7, 2022
1eb7ec3
Add other elements specs
jgthms May 7, 2022
a35710d
Add footer and hero specs
jgthms May 7, 2022
e093e7b
Add Hero specs
jgthms May 7, 2022
d4b67f4
Add section specs
jgthms May 7, 2022
895e17a
Add grid specs
jgthms May 7, 2022
0e7659d
Add column sizes specs
jgthms May 7, 2022
54c9c81
Add tiles specs
jgthms May 7, 2022
2a1e0d9
Add generic specs
jgthms May 8, 2022
1a6126e
Fix generic tests
jgthms May 8, 2022
b0d06b6
Make font family test looser
jgthms May 8, 2022
5f1af44
Remove system-ui test
jgthms May 8, 2022
542807f
Remove important flag
jgthms May 8, 2022
bbb5419
Merge branch 'master' into setup-cypress
jgthms May 8, 2022
9aa25eb
Fix disabled select color
jgthms May 8, 2022
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
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: End-to-end tests
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- name: Install dependencies
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gem install jekyll bundler
- name: Cypress run
uses: cypress-io/github-action@v2
with:
working-directory: docs
install-command: npm install
build: npm run bulma-sass
start: jekyll serve --host 127.0.0.1 --port 4000
wait-on: "http://127.0.0.1:4000"
3 changes: 2 additions & 1 deletion css/bulma-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/bulma-rtl.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/bulma-rtl.min.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion css/bulma.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion css/bulma.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/bulma.min.css

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions docs/_layouts/cypress.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.fulltitle %}{{ page.fulltitle | markdownify | strip_html }}{% else %}{% if page.title %}{{ page.title | markdownify | strip_html }} | {% endif %}{{ site.data.meta.title | markdownify | strip_html }}{% endif %}</title>

<link rel="stylesheet" href="{{ site.url }}/vendor/fontawesome-free-5.15.2-web/css/all.min.css">
<link rel="stylesheet" href="{{ site.url }}/css/bulma.css?v={{ site.time | date: "%Y%m%d%H%M" }}">
</head>
<body>
{{ content }}
</body>
</html>
2 changes: 2 additions & 0 deletions docs/bulma.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@charset "utf-8";
@import "../bulma";
3 changes: 2 additions & 1 deletion docs/css/bulma-docs.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/css/bulma-docs.min.css

Large diffs are not rendered by default.

Loading