diff --git a/Tests/LibWeb/Text/data/history-pushstate-iframe.html b/Tests/LibWeb/Text/data/history-pushstate-iframe.html
new file mode 100644
index 00000000000..1f227bb5238
--- /dev/null
+++ b/Tests/LibWeb/Text/data/history-pushstate-iframe.html
@@ -0,0 +1,15 @@
+
diff --git a/Tests/LibWeb/Text/data/iframe-test-content-1.html b/Tests/LibWeb/Text/data/iframe-test-content-1.html
new file mode 100644
index 00000000000..77d9d100753
--- /dev/null
+++ b/Tests/LibWeb/Text/data/iframe-test-content-1.html
@@ -0,0 +1,3 @@
+
diff --git a/Tests/LibWeb/Text/data/iframe-test-content-2.html b/Tests/LibWeb/Text/data/iframe-test-content-2.html
new file mode 100644
index 00000000000..d651bcbb303
--- /dev/null
+++ b/Tests/LibWeb/Text/data/iframe-test-content-2.html
@@ -0,0 +1,3 @@
+
diff --git a/Tests/LibWeb/Text/input/navigation/navigation-navigate-iframe.html b/Tests/LibWeb/Text/data/navigation-navigate-iframe.html
similarity index 94%
rename from Tests/LibWeb/Text/input/navigation/navigation-navigate-iframe.html
rename to Tests/LibWeb/Text/data/navigation-navigate-iframe.html
index 30eee251a51..6bfcc111085 100644
--- a/Tests/LibWeb/Text/input/navigation/navigation-navigate-iframe.html
+++ b/Tests/LibWeb/Text/data/navigation-navigate-iframe.html
@@ -1,15 +1,10 @@
-
diff --git a/Tests/LibWeb/Text/expected/navigation/history-pushstate-iframe.txt b/Tests/LibWeb/Text/expected/navigation/history-pushstate-iframe.txt
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/Tests/LibWeb/Text/expected/navigation/iframe-test-content-1.txt b/Tests/LibWeb/Text/expected/navigation/iframe-test-content-1.txt
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/Tests/LibWeb/Text/expected/navigation/iframe-test-content-2.txt b/Tests/LibWeb/Text/expected/navigation/iframe-test-content-2.txt
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/Tests/LibWeb/Text/expected/navigation/navigation-navigate-iframe.txt b/Tests/LibWeb/Text/expected/navigation/navigation-navigate-iframe.txt
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/Tests/LibWeb/Text/input/navigation/history-pushstate-iframe.html b/Tests/LibWeb/Text/input/navigation/history-pushstate-iframe.html
deleted file mode 100644
index ae62b21d477..00000000000
--- a/Tests/LibWeb/Text/input/navigation/history-pushstate-iframe.html
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
diff --git a/Tests/LibWeb/Text/input/navigation/history-pushstate.html b/Tests/LibWeb/Text/input/navigation/history-pushstate.html
index 60a12d1654e..4c09ff4548c 100644
--- a/Tests/LibWeb/Text/input/navigation/history-pushstate.html
+++ b/Tests/LibWeb/Text/input/navigation/history-pushstate.html
@@ -18,6 +18,6 @@
done();
});
- await navigateIframe("./history-pushstate-iframe.html");
- });
+ await navigateIframe("../../data/history-pushstate-iframe.html");
+ });
diff --git a/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html b/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html
index 0f0664b9f15..1248dfc4afd 100644
--- a/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html
+++ b/Tests/LibWeb/Text/input/navigation/iframe-navigate-src.html
@@ -21,8 +21,8 @@
}
});
- await navigateIframe("iframe-test-content-1.html");
- await navigateIframe("iframe-test-content-2.html");
+ await navigateIframe("../../data/iframe-test-content-1.html");
+ await navigateIframe("../../data/iframe-test-content-2.html");
});
diff --git a/Tests/LibWeb/Text/input/navigation/iframe-test-content-1.html b/Tests/LibWeb/Text/input/navigation/iframe-test-content-1.html
deleted file mode 100644
index 080d84daba9..00000000000
--- a/Tests/LibWeb/Text/input/navigation/iframe-test-content-1.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/Tests/LibWeb/Text/input/navigation/iframe-test-content-2.html b/Tests/LibWeb/Text/input/navigation/iframe-test-content-2.html
deleted file mode 100644
index 42694e61863..00000000000
--- a/Tests/LibWeb/Text/input/navigation/iframe-test-content-2.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
diff --git a/Tests/LibWeb/Text/input/navigation/navigation-navigate.html b/Tests/LibWeb/Text/input/navigation/navigation-navigate.html
index b478e54cef3..ab0181d0a36 100644
--- a/Tests/LibWeb/Text/input/navigation/navigation-navigate.html
+++ b/Tests/LibWeb/Text/input/navigation/navigation-navigate.html
@@ -19,6 +19,6 @@
done();
});
- await navigateIframe("./navigation-navigate-iframe.html");
- });
+ await navigateIframe("../../data/navigation-navigate-iframe.html");
+ });