FE Replay Script     
Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > Technical threads

Technical threads All discussions about technical issues

Reply
 
Thread Tools Display Modes

// replay-fe-issue.js import { test, expect } from '@playwright/test'; test('FE-456: promo code flash error', async ({ page }) => { // Preconditions await page.goto('https://shop.example.com/login'); await page.fill('#email', 'buyer@example.com'); await page.fill('#password', 'testpass123'); await page.click('button[type="submit"]');

// Wait 1 sec – message should stay, but it disappears await page.waitForTimeout(1000); await expect(errorMessage).not.toBeVisible(); // Fails in fixed version

// Observe error flash const errorMessage = page.locator('.promo-error'); await expect(errorMessage).toHaveText('Invalid code');

// Add item to cart await page.goto('https://shop.example.com/product/tshirt'); await page.click('button.add-to-cart');

Fe Replay Script Apr 2026

// replay-fe-issue.js import { test, expect } from '@playwright/test'; test('FE-456: promo code flash error', async ({ page }) => { // Preconditions await page.goto('https://shop.example.com/login'); await page.fill('#email', 'buyer@example.com'); await page.fill('#password', 'testpass123'); await page.click('button[type="submit"]');

// Wait 1 sec – message should stay, but it disappears await page.waitForTimeout(1000); await expect(errorMessage).not.toBeVisible(); // Fails in fixed version FE Replay Script

// Observe error flash const errorMessage = page.locator('.promo-error'); await expect(errorMessage).toHaveText('Invalid code'); // replay-fe-issue

// Add item to cart await page.goto('https://shop.example.com/product/tshirt'); await page.click('button.add-to-cart'); // replay-fe-issue.js import { test

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.