Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .babelrc

This file was deleted.

8 changes: 2 additions & 6 deletions dev/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import Vue from 'vue'
import { createApp } from 'vue'
import App from './App.vue'


new Vue({
el: '#app',
render: h => h(App)
})
createApp(App).mount('#app')
Binary file added jules-scratch/verification/verification.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions jules-scratch/verification/verify_migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
from playwright.sync_api import sync_playwright, expect

def run(playwright):
browser = playwright.chromium.launch(headless=True)
context = browser.new_context()
page = context.new_page()

try:
# Navigate to the running application
page.goto("http://localhost:8081/")

# Wait for the main heading to be visible
expect(page.get_by_role("heading", name="vue-virtualscroll")).to_be_visible()

# Load the "Big" dataset
page.get_by_role("combobox").select_option("bigdata.json")

# Add a delay to allow for data loading
page.wait_for_timeout(3000)

# Check for the visibility of the first item in the list
expect(page.get_by_text("0 - ").first).to_be_visible()

# Take a screenshot
page.screenshot(path="jules-scratch/verification/verification.png")

except Exception as e:
print(f"An error occurred: {e}")
# Take a screenshot even on failure to help with debugging
page.screenshot(path="jules-scratch/verification/verification_error.png")
raise

finally:
browser.close()

with sync_playwright() as playwright:
run(playwright)
Loading