mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
test(rtl): add rtl script to all e2e tests (#17009)
This commit is contained in:
8
core/scripts/testing/scripts.js
Normal file
8
core/scripts/testing/scripts.js
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
(function() {
|
||||
|
||||
if (window.location.search.indexOf('rtl=true') > -1) {
|
||||
document.documentElement.setAttribute('dir', 'rtl');
|
||||
}
|
||||
|
||||
})();
|
Reference in New Issue
Block a user