Skip to content

Commit 60dd9ce

Browse files
committed
Use default frame id
1 parent db9937f commit 60dd9ce

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

client/src/components/Dataset/DatasetDisplay.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ watch(
9999
</div>
100100
<a :href="downloadUrl">Download</a>
101101
</div>
102-
<CenterFrame id="galaxy_dataset" :src="previewUrl" @load="emit('load')" />
102+
<CenterFrame :src="previewUrl" @load="emit('load')" />
103103
</div>
104104
</div>
105105
</template>

lib/galaxy/selenium/navigates_galaxy.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
RETRY_DURING_TRANSITIONS_ATTEMPTS_DEFAULT = 10
6363

6464
GALAXY_MAIN_FRAME_ID = "galaxy_main"
65-
GALAXY_DATASET_FRAME_ID = "galaxy_dataset"
6665
GALAXY_VISUALIZATION_FRAME_ID = "galaxy_visualization"
6766

6867
WaitType = collections.namedtuple("WaitType", ["name", "default_length"])
@@ -389,9 +388,6 @@ def go_to_import_zip(self) -> None:
389388
def switch_to_main_panel(self):
390389
self.switch_to_frame(GALAXY_MAIN_FRAME_ID)
391390

392-
def switch_to_dataset_panel(self):
393-
self.driver.switch_to.frame(GALAXY_DATASET_FRAME_ID)
394-
395391
@contextlib.contextmanager
396392
def local_storage(self, key: str, value: Union[float, str]):
397393
"""Method decorator to modify localStorage for the scope of the supplied context."""

lib/galaxy_test/selenium/test_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_history_dataset_display_text(self):
2828
dataset_display = self.components.dataset_display.container
2929
dataset_display.wait_for_visible()
3030

31-
self.switch_to_dataset_panel()
31+
self.switch_to_frame()
3232
text = self.components.dataset_display.content.wait_for_text()
3333
assert "chr1 4225 19670" in text
3434
self.driver.switch_to.default_content()

0 commit comments

Comments
 (0)