Skip to content

Commit

Permalink
[8.x] [Console] Avoid console url redirection (#199966) (#200558)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Console] Avoid console url redirection
(#199966)](#199966)

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

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

<!--BACKPORT [{"author":{"name":"Ignacio
Rivas","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-18T12:56:11Z","message":"[Console]
Avoid console url redirection
(#199966)","sha":"ebd3f0d69e21b84f7f65e5f57ef0afcffc2f808a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana
Management","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Console]
Avoid console url
redirection","number":199966,"url":"https://github.com/elastic/kibana/pull/199966","mergeCommit":{"message":"[Console]
Avoid console url redirection
(#199966)","sha":"ebd3f0d69e21b84f7f65e5f57ef0afcffc2f808a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199966","number":199966,"mergeCommit":{"message":"[Console]
Avoid console url redirection
(#199966)","sha":"ebd3f0d69e21b84f7f65e5f57ef0afcffc2f808a"}}]}]
BACKPORT-->

Co-authored-by: Ignacio Rivas <[email protected]>
  • Loading branch information
kibanamachine and sabarasaba authored Nov 18, 2024
1 parent e4cfd1f commit 6ec3126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/apps/console/_text_input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
describe('with a data URI in the load_from query', () => {
it('loads the data from the URI', async () => {
await PageObjects.common.navigateToApp('console', {
hash: '#/console?load_from=data:text/plain,BYUwNmD2Q',
hash: '#/console/shell?load_from=data:text/plain,BYUwNmD2Q',
});

await retry.try(async () => {
Expand All @@ -44,7 +44,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
describe('with invalid data', () => {
it('shows a toast error', async () => {
await PageObjects.common.navigateToApp('console', {
hash: '#/console?load_from=data:text/plain,BYUwNmD2',
hash: '#/console/shell?load_from=data:text/plain,BYUwNmD2',
});

await retry.try(async () => {
Expand Down

0 comments on commit 6ec3126

Please sign in to comment.