tweak MkSignupDialog.rules.vue
This commit is contained in:
parent
dc8a3f210b
commit
67d218fe2b
2 changed files with 2 additions and 4 deletions
|
@ -53,7 +53,6 @@ describe('After setup instance', () => {
|
||||||
|
|
||||||
cy.get('[data-cy-signup]').click();
|
cy.get('[data-cy-signup]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-notes] [data-cy-folder-header]').click();
|
|
||||||
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-continue]').click();
|
cy.get('[data-cy-signup-rules-continue]').click();
|
||||||
|
@ -78,7 +77,6 @@ describe('After setup instance', () => {
|
||||||
// ユーザー名が重複している場合の挙動確認
|
// ユーザー名が重複している場合の挙動確認
|
||||||
cy.get('[data-cy-signup]').click();
|
cy.get('[data-cy-signup]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-notes] [data-cy-folder-header]').click();
|
|
||||||
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
cy.get('[data-cy-signup-rules-notes-agree] [data-cy-switch-toggle]').click();
|
||||||
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
cy.get('[data-cy-signup-rules-continue]').should('not.be.disabled');
|
||||||
cy.get('[data-cy-signup-rules-continue]').click();
|
cy.get('[data-cy-signup-rules-continue]').click();
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<MkSwitch v-model="agreeServerRules" style="margin-top: 16px;">{{ i18n.ts.agree }}</MkSwitch>
|
<MkSwitch v-model="agreeServerRules" style="margin-top: 16px;">{{ i18n.ts.agree }}</MkSwitch>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
<MkFolder v-if="availableTos">
|
<MkFolder v-if="availableTos" :default-open="true">
|
||||||
<template #label>{{ i18n.ts.termsOfService }}</template>
|
<template #label>{{ i18n.ts.termsOfService }}</template>
|
||||||
<template #suffix><i v-if="agreeTos" class="ti ti-check" style="color: var(--success)"></i></template>
|
<template #suffix><i v-if="agreeTos" class="ti ti-check" style="color: var(--success)"></i></template>
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<MkSwitch v-model="agreeTos" style="margin-top: 16px;">{{ i18n.ts.agree }}</MkSwitch>
|
<MkSwitch v-model="agreeTos" style="margin-top: 16px;">{{ i18n.ts.agree }}</MkSwitch>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
|
|
||||||
<MkFolder data-cy-signup-rules-notes>
|
<MkFolder :default-open="true">
|
||||||
<template #label>{{ i18n.ts.basicNotesBeforeCreateAccount }}</template>
|
<template #label>{{ i18n.ts.basicNotesBeforeCreateAccount }}</template>
|
||||||
<template #suffix><i v-if="agreeNote" class="ti ti-check" style="color: var(--success)"></i></template>
|
<template #suffix><i v-if="agreeNote" class="ti ti-check" style="color: var(--success)"></i></template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue