0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Updated the test

refs https://github.com/TryGhost/Team/issues/1724
This commit is contained in:
Djordje Vlaisavljevic 2022-08-19 14:32:57 +02:00
parent 006b3adc3b
commit a6666eb8fd

View file

@ -672,7 +672,7 @@ describe('Signup', () => {
expect(nameInput).toHaveValue('Jamie Larsen');
fireEvent.click(tierContainer[0]);
const labelText = popupIframeDocument.querySelector('.gh-portal-discount-label-trial');
const labelText = popupIframeDocument.querySelector('.gh-portal-discount-label');
await waitFor(() => {
expect(labelText).toBeInTheDocument();
});