HEADER v3, primary аккаунты и подтверждения

This commit is contained in:
AidarKC
2026-11-27 12:29:24 +03:00
parent f9e7c4ef94
commit ae430e84c7
89 changed files with 1201 additions and 1596 deletions
@@ -3,7 +3,7 @@ import test from 'node:test';
import assert from 'node:assert/strict';
import fs from 'node:fs';
const read = relative => expandRussian(fs.readFileSync(new URL(relative, import.meta.url), 'utf8'));
test('выбор аккаунта перед шагом 1, всего три шага', () => {
test('выбор тарифа перед шагом 1, всего четыре шага', () => {
const choice = read('../js/pages/registration-choice-view.js');
const login = read('../js/pages/register-view.js');
const email = read('../js/pages/registration-email-view.js');
@@ -11,8 +11,9 @@ test('выбор аккаунта перед шагом 1, всего три ш
assert.doesNotMatch(choice, /createRegistrationStepper\(/);
assert.match(login, /createRegistrationStepper\(1\)/);
assert.match(login, /createRegistrationStepper\(2\)/);
assert.match(email, /createRegistrationStepper\(3\)/);
assert.match(payment, /createRegistrationStepper\(3\)/);
assert.match(login, /createRegistrationStepper\(3\)/);
assert.match(email, /createRegistrationStepper\(4\)/);
assert.match(payment, /createRegistrationStepper\(4\)/);
});
test('реальная почта и 256-символьный лимит сохранены', () => {
const email = read('../js/pages/registration-email-view.js');