Skip to content

Commit

Permalink
Updates related to functional tests (#260)
Browse files Browse the repository at this point in the history
* [Tests] update management id

From opensearchDashboards to opensearch-dashboards.

Signed-off-by: Kawika Avilla <[email protected]>

* [Tests] update opensearch_archiver

Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla authored Apr 9, 2021
1 parent aaf9ba3 commit 138bde1
Show file tree
Hide file tree
Showing 29 changed files with 376 additions and 63 deletions.
2 changes: 1 addition & 1 deletion src/plugins/management/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export enum ManagementSectionId {
Data = 'data',
InsightsAndAlerting = 'insightsAndAlerting',
Security = 'security',
OpenSearchDashboards = 'opensearchDashboards',
OpenSearchDashboards = 'opensearch-dashboards',
Stack = 'stack',
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h2 i18n-id="timeline.help.expressionsTitle" i18n-default-message="Expressing yo
<td i18n-id="timeline.help.expressions.examples.twoExpressionsDescription"
i18n-default-message="{descriptionTitle} Two expressions on the same chart." i18n-values="{
<td
i18n-id="timelion.help.expressions.examples.twoExpressionsDescription"
i18n-id="timeline.help.expressions.examples.twoExpressionsDescription"
i18n-default-message="{descriptionTitle} Two expressions on the same chart."
i18n-values="{
html_descriptionTitle: '<strong>' + translations.twoExpressionsDescriptionTitle + '</strong>',
Expand All @@ -291,7 +291,7 @@ <h2 i18n-id="timeline.help.expressionsTitle" i18n-default-message="Expressing yo
<td i18n-id="timeline.help.expressions.examples.customStylingDescription" i18n-default-message="{descriptionTitle} Colorizes the first series red and
uses 1 pixel wide bars for the second series." i18n-values="{
<td
i18n-id="timelion.help.expressions.examples.customStylingDescription"
i18n-id="timeline.help.expressions.examples.customStylingDescription"
i18n-default-message="{descriptionTitle} Colorizes the first series red and
uses 1 pixel wide bars for the second series."
i18n-values="{
Expand Down
2 changes: 1 addition & 1 deletion test/functional/apps/timeline/_expression_typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function ({ getPageObjects }) {
});

it('should display function suggestions filtered by function name', async () => {
await PageObjects.timeline.setExpression('.e');
await PageObjects.timeline.setExpression('.o');
const suggestions = await PageObjects.timeline.getSuggestionItemsText();
expect(suggestions.length).to.eql(2);
expect(suggestions[0].includes('.opensearch()')).to.eql(true);
Expand Down
1 change: 0 additions & 1 deletion test/functional/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default async function ({ readConfigFile }) {
...commonConfig.get('osdTestServer'),
serverArgs: [
...commonConfig.get('osdTestServer.serverArgs'),
'--oss',
// '--telemetry.optIn=false',
'--savedObjects.maxImportPayloadBytes=10485760',
],
Expand Down
Binary file modified test/functional/fixtures/opensearch_archiver/alias/data.json.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified test/functional/fixtures/opensearch_archiver/discover/data.json.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified test/functional/fixtures/opensearch_archiver/hamlet/data.json.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 138bde1

Please sign in to comment.