mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-06-08 13:37:29 +01:00
keep document spec as original
This commit is contained in:
@@ -73,11 +73,6 @@ for (const { name, databaseId, containerId, documents } of documentTestCases) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
await documentsTab.resultsEditor.setText(JSON.stringify(newDocument));
|
await documentsTab.resultsEditor.setText(JSON.stringify(newDocument));
|
||||||
// Verify that the document text was set correctly
|
|
||||||
await expect
|
|
||||||
.poll(async () => await documentsTab.resultsEditor.text(), { timeout: 5000 })
|
|
||||||
.toEqual(JSON.stringify(newDocument));
|
|
||||||
|
|
||||||
const saveButton = await explorer.waitForCommandBarButton(CommandBarButton.Save, 5000);
|
const saveButton = await explorer.waitForCommandBarButton(CommandBarButton.Save, 5000);
|
||||||
await saveButton.click({ timeout: 5000 });
|
await saveButton.click({ timeout: 5000 });
|
||||||
await expect(saveButton).toBeHidden({ timeout: 5000 });
|
await expect(saveButton).toBeHidden({ timeout: 5000 });
|
||||||
|
|||||||
Reference in New Issue
Block a user