mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
9aae372b58
commit
55d3c0fc2c
@ -73,7 +73,7 @@ describe("Lens integration tests", () => {
|
||||
}
|
||||
|
||||
await app.client.click("[data-testid=kubernetes-tab]");
|
||||
await app.client.waitUntilTextExists("div.repos .repoName", repos[0].name); // wait for the helm-cli to fetch the repo(s)
|
||||
await app.client.waitUntilTextExists("[data-testid=repository-name]", repos[0].name); // wait for the helm-cli to fetch the repo(s)
|
||||
await app.client.click("#HelmRepoSelect"); // click the repo select to activate the drop-down
|
||||
await app.client.waitUntilTextExists("div.Select__option", ""); // wait for at least one option to appear (any text)
|
||||
});
|
||||
|
||||
@ -139,7 +139,7 @@ export class HelmCharts extends React.Component {
|
||||
return (
|
||||
<RemovableItem key={name} onRemove={() => this.removeRepo(repo)} className="mt-3">
|
||||
<div>
|
||||
<div className={styles.repoName}>{name}</div>
|
||||
<div data-testid="repository-name" className={styles.repoName}>{name}</div>
|
||||
<div className={styles.repoUrl}>{repo.url}</div>
|
||||
</div>
|
||||
</RemovableItem>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user