diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-05-09 19:41:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-09 19:41:54 +0900 |
| commit | 96bc042d67a6175e0d899b7f7ce7d13de3a0dbf2 (patch) | |
| tree | b96466858e471fe789741694d2651bd1349183e6 /cypress | |
| parent | fix: exported antenna data cannot be imported in some cases (#15985) (diff) | |
| download | misskey-96bc042d67a6175e0d899b7f7ce7d13de3a0dbf2.tar.gz misskey-96bc042d67a6175e0d899b7f7ce7d13de3a0dbf2.tar.bz2 misskey-96bc042d67a6175e0d899b7f7ce7d13de3a0dbf2.zip | |
Feat: サーバー初期設定ウィザード (#15954)
* wip
* wip
* Update welcome.setup.vue
* wip
* wip
* wip
* wip
* Update MkServerSetupWizard.vue
* Update MkServerSetupWizard.vue
* wip
* wip
* wip
* Update types.ts
* wip
* wip
* Update CHANGELOG.md
Diffstat (limited to 'cypress')
| -rw-r--r-- | cypress/e2e/basic.cy.ts | 9 | ||||
| -rw-r--r-- | cypress/plugins/index.js | 22 |
2 files changed, 9 insertions, 22 deletions
diff --git a/cypress/e2e/basic.cy.ts b/cypress/e2e/basic.cy.ts index 6471f96504..bd4021d2e3 100644 --- a/cypress/e2e/basic.cy.ts +++ b/cypress/e2e/basic.cy.ts @@ -31,6 +31,15 @@ describe('Before setup instance', () => { // なぜか動かない //cy.wait('@signup').should('have.property', 'response.statusCode'); cy.wait('@signup'); + + cy.intercept('POST', '/api/admin/update-meta').as('update-meta'); + + cy.get('[data-cy-next]').click(); + cy.get('[data-cy-next]').click(); + cy.get('[data-cy-server-name] input').type('Testskey'); + cy.get('[data-cy-server-setup-wizard-apply]').click(); + + cy.wait('@update-meta'); }); }); diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js deleted file mode 100644 index 59b2bab6e4..0000000000 --- a/cypress/plugins/index.js +++ /dev/null @@ -1,22 +0,0 @@ -/// <reference types="cypress" /> -// *********************************************************** -// This example plugins/index.js can be used to load plugins -// -// You can change the location of this file or turn off loading -// the plugins file with the 'pluginsFile' configuration option. -// -// You can read more here: -// https://on.cypress.io/plugins-guide -// *********************************************************** - -// This function is called when a project is opened or re-opened (e.g. due to -// the project's config changing) - -/** - * @type {Cypress.PluginConfig} - */ -// eslint-disable-next-line no-unused-vars -module.exports = (on, config) => { - // `on` is used to hook into various events Cypress emits - // `config` is the resolved Cypress config -} |