-
Notifications
You must be signed in to change notification settings - Fork 32
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
e2e tests Oracle source #535
base: develop
Are you sure you want to change the base?
e2e tests Oracle source #535
Conversation
4b3d35e
to
705cd0f
Compare
705cd0f
to
83d1c42
Compare
Then Replace input plugin property: "port" with value: "port" for Credentials and Authorization related fields | ||
Then Replace input plugin property: "user" with value: "username" for Credentials and Authorization related fields | ||
Then Replace input plugin property: "password" with value: "password" for Credentials and Authorization related fields | ||
Then Click plugin property: "switch-useConnection" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why useConnection
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here verifying the error message displayed on header as in-line error is already covered in mandatory fields use case.
@Before(order = 1, value = "@CONNECTION") | ||
public static void setNewConnectionName() { | ||
String connectionName = "Oracle" + RandomStringUtils.randomAlphanumeric(10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a common class, we should take connectionPrefix as parameterized, it would not necessary be Oracle
for all plugins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are having different TestSetupHooks class file for different database plugins. For each database plugin we are using according to the plugin name.
@After(order = 1, value = "@CONNECTION") | ||
public static void deleteBQConnection() throws IOException { | ||
deleteConnection("Oracle", "connection.name"); | ||
PluginPropertyUtils.removePluginProp("connection.name"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar comment here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hence using the database plugin name for different database plugin connections.
No description provided.