fix: complete InvesteMoz validation and error corrections
This commit is contained in:
@@ -21,7 +21,10 @@ void test('portal home investor support exposes a direct public simulator link',
|
||||
supportHeading,
|
||||
homePage.indexOf('</article>', supportHeading),
|
||||
);
|
||||
assert.match(support, /<a\s[^>]*href="\/simulador-fiscal"[^>]*>[\s\S]*?Simulador Fiscal[\s\S]*?<\/a>/);
|
||||
assert.match(
|
||||
support,
|
||||
/<a\s[^>]*href="\/simulador-fiscal"[^>]*>[\s\S]*?Simulador Fiscal[\s\S]*?<\/a>/,
|
||||
);
|
||||
});
|
||||
|
||||
void test('completed simulator result keeps public interest submission independent', () => {
|
||||
@@ -30,5 +33,8 @@ void test('completed simulator result keeps public interest submission independe
|
||||
simulator.replace(/\s+/g, ' '),
|
||||
/Manifestar interesse sem partilhar esta simulação/,
|
||||
);
|
||||
assert.match(simulator.replace(/\s+/g, ' '), /sem partilhar os dados desta simulação/);
|
||||
assert.match(
|
||||
simulator.replace(/\s+/g, ' '),
|
||||
/sem partilhar os dados desta simulação/,
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user