[8.12] [Expressions] Unskips test (#175879) (#175921)

# Backport

This will backport the following commits from `main` to `8.12`:
- [[Expressions] Unskips test
(#175879)](https://github.com/elastic/kibana/pull/175879)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2024-01-30T17:52:49Z","message":"[Expressions]
Unskips test (#175879)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/156780\r\nUnskips the
expression tests\r\n\r\nFlaky runner (50
times)","sha":"82e22b3f765a77ba47ca8040a7deae16037aa0e1","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:ExpressionLanguage","Team:Visualizations","failed-test","release_note:skip","backport:prev-minor","v8.13.0"],"title":"[Expressions]
Unskips
test","number":175879,"url":"https://github.com/elastic/kibana/pull/175879","mergeCommit":{"message":"[Expressions]
Unskips test (#175879)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/156780\r\nUnskips the
expression tests\r\n\r\nFlaky runner (50
times)","sha":"82e22b3f765a77ba47ca8040a7deae16037aa0e1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","branchLabelMappingKey":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/175879","number":175879,"mergeCommit":{"message":"[Expressions]
Unskips test (#175879)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/156780\r\nUnskips the
expression tests\r\n\r\nFlaky runner (50
times)","sha":"82e22b3f765a77ba47ca8040a7deae16037aa0e1"}}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
Kibana Machine 2024-01-30 14:20:54 -05:00 committed by GitHub
parent e54f4ced6e
commit a36cd338b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,8 +17,7 @@ export default function ({ getService }: PluginFunctionalProviderContext) {
const find = getService('find');
const browser = getService('browser');
// FLAKY: https://github.com/elastic/kibana/issues/156780
describe.skip('', () => {
describe('', () => {
it('runs expression', async () => {
await retry.try(async () => {
const text = await testSubjects.getVisibleText('expressionResult');
@ -54,7 +53,7 @@ export default function ({ getService }: PluginFunctionalProviderContext) {
await find.clickByCssSelector(selector);
await retry.try(async () => {
const text = await browser.getCurrentUrl();
expect(text).to.contain('https://www.google.com/');
expect(text).to.contain('https://www.google.com');
});
});
});