Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt e2e tests #540

Merged
merged 2 commits into from
Jan 13, 2023
Merged

Adapt e2e tests #540

merged 2 commits into from
Jan 13, 2023

Conversation

andresmgot
Copy link
Contributor

Needed after #529

@andresmgot andresmgot requested a review from a team as a code owner January 13, 2023 14:13
@@ -136,18 +137,29 @@ export const AzureCredentialsForm: FunctionComponent<Props> = (props: Props) =>
)}
{credentials.authType === 'clientsecret-obo' && (
<>
{/* eslint-disable prettier/prettier */}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my editor was ignoring this so the file was re-formatted anyway.

@github-actions
Copy link

Backend code coverage report for PR #540
No changes

@github-actions
Copy link

Frontend code coverage report for PR #540

Plugin Main PR Difference
src 81.89% 81.89% 0%

@@ -26,7 +26,7 @@ function addCommonProvisioningADXDatasource(ADXProvisions: ADXProvision[]) {
e2e.flows.addDataSource({
type: 'Azure Data Explorer Datasource',
form: () => {
e2eSelectors.configEditor.azureCloud.input().type('Azure');
e2eSelectors.configEditor.azureCloud.input().find('#azure-cloud-type').type('Azure');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I think .find('input') here is more stable rather than referencing the htmlFor field

Copy link
Contributor

@aangelisc aangelisc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@andresmgot andresmgot merged commit 5ccb1e0 into main Jan 13, 2023
@andresmgot andresmgot deleted the e2eFix branch January 13, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants