group test (frontend) - #1879
This commit is contained in:
@@ -2,6 +2,7 @@ image: tcitworld/mobilizon-ci
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- install
|
- install
|
||||||
|
- security
|
||||||
- check
|
- check
|
||||||
- build-js
|
- build-js
|
||||||
- test
|
- test
|
||||||
@@ -50,6 +51,22 @@ install:
|
|||||||
- mix deps.get
|
- mix deps.get
|
||||||
- mix compile
|
- mix compile
|
||||||
|
|
||||||
|
security-frontend:
|
||||||
|
stage: security
|
||||||
|
script:
|
||||||
|
- npm audit
|
||||||
|
allow_failure: true
|
||||||
|
needs:
|
||||||
|
- install
|
||||||
|
|
||||||
|
security-backend:
|
||||||
|
stage: security
|
||||||
|
script:
|
||||||
|
- mix hex.audit
|
||||||
|
allow_failure: true
|
||||||
|
needs:
|
||||||
|
- install
|
||||||
|
|
||||||
lint-elixir:
|
lint-elixir:
|
||||||
stage: check
|
stage: check
|
||||||
before_script:
|
before_script:
|
||||||
@@ -78,6 +95,28 @@ lint-front:
|
|||||||
- npx prettier -c . || export EXITVALUE=1
|
- npx prettier -c . || export EXITVALUE=1
|
||||||
- exit $EXITVALUE
|
- exit $EXITVALUE
|
||||||
|
|
||||||
|
deps:
|
||||||
|
stage: check
|
||||||
|
before_script:
|
||||||
|
- apt update
|
||||||
|
- apt install -y gawk
|
||||||
|
- rm -rf ~/.hex/cache.ets
|
||||||
|
- mix deps.get
|
||||||
|
script:
|
||||||
|
- ./check_deps.sh
|
||||||
|
allow_failure: true
|
||||||
|
needs:
|
||||||
|
- install
|
||||||
|
|
||||||
|
i18n-frontend:
|
||||||
|
image: python:alpine
|
||||||
|
stage: check
|
||||||
|
script:
|
||||||
|
- python3 check_i18n.py
|
||||||
|
allow_failure: true
|
||||||
|
needs:
|
||||||
|
- install
|
||||||
|
|
||||||
build-frontend:
|
build-frontend:
|
||||||
stage: build-js
|
stage: build-js
|
||||||
image: node:22
|
image: node:22
|
||||||
@@ -94,44 +133,6 @@ build-frontend:
|
|||||||
needs:
|
needs:
|
||||||
- lint-front
|
- lint-front
|
||||||
|
|
||||||
deps:
|
|
||||||
stage: check
|
|
||||||
before_script:
|
|
||||||
- apt update
|
|
||||||
- apt install -y gawk
|
|
||||||
- rm -rf ~/.hex/cache.ets
|
|
||||||
- mix deps.get
|
|
||||||
script:
|
|
||||||
- ./check_deps.sh
|
|
||||||
allow_failure: true
|
|
||||||
needs:
|
|
||||||
- install
|
|
||||||
|
|
||||||
security-frontend:
|
|
||||||
stage: check
|
|
||||||
script:
|
|
||||||
- npm audit
|
|
||||||
allow_failure: true
|
|
||||||
needs:
|
|
||||||
- install
|
|
||||||
|
|
||||||
security-backend:
|
|
||||||
stage: check
|
|
||||||
script:
|
|
||||||
- mix hex.audit
|
|
||||||
allow_failure: true
|
|
||||||
needs:
|
|
||||||
- install
|
|
||||||
|
|
||||||
i18n-frontend:
|
|
||||||
image: python:alpine
|
|
||||||
stage: check
|
|
||||||
script:
|
|
||||||
- python3 check_i18n.py
|
|
||||||
allow_failure: true
|
|
||||||
needs:
|
|
||||||
- install
|
|
||||||
|
|
||||||
exunit:
|
exunit:
|
||||||
stage: test
|
stage: test
|
||||||
services:
|
services:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ exports[`GroupInvitationJoin > Show simple 1`] = `
|
|||||||
<h1>Join a group</h1>
|
<h1>Join a group</h1>
|
||||||
<div>
|
<div>
|
||||||
<p class="my-1">Do you want to join the group <span>"<b>mygroup</b>"</span> with the profile <span>"<b>test</b>"</span> ?</p>
|
<p class="my-1">Do you want to join the group <span>"<b>mygroup</b>"</span> with the profile <span>"<b>test</b>"</span> ?</p>
|
||||||
<p class="my-1">You can create a new profile or change the actual profile with the top menu.</p><button data-oruga="button" type="button" role="button" tabindex="0" class="o-button o-button--primary"><span class="o-button__wrapper"><!----><span class="o-button__label">Join group</span>
|
<p class="my-1">You can create a new profile or change the actual profile with the profile menu.</p><button data-oruga="button" type="button" role="button" tabindex="0" class="o-button o-button--primary"><span class="o-button__wrapper"><!----><span class="o-button__label">Join group</span>
|
||||||
<!----></span>
|
<!----></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ exports[`GroupInvitations > Show simple 1`] = `
|
|||||||
<breadcrumbs-nav links="[object Object],[object Object],[object Object]"></breadcrumbs-nav>
|
<breadcrumbs-nav links="[object Object],[object Object],[object Object]"></breadcrumbs-nav>
|
||||||
<section class="container mx-auto section">
|
<section class="container mx-auto section">
|
||||||
<h1>Invitations to join the group</h1>
|
<h1>Invitations to join the group</h1>
|
||||||
<h2>Member invitation</h2>
|
<h2>Member invitation by username</h2>
|
||||||
<form>
|
<form>
|
||||||
<div data-oruga="field" class="o-field o-field--horizontal">
|
<div data-oruga="field" class="o-field o-field--horizontal">
|
||||||
<div class="o-field__horizontal-label"><label id="v-0-0" for="new-member-field" class="o-field__label">Invite a new member</label></div>
|
<div class="o-field__horizontal-label"><label id="v-0-0" for="new-member-field" class="o-field__label">Invite a new member</label></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user