You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// accessing LocalStorage after the page reload can stick the test runner
155
+
// to avoid the issue, we just need to log the command manually
156
+
// the problem potentially can happen with other storage related commands, like `clearAllLocalStorage`, `clearAllSessionStorage`, `getAllLocalStorage`, `getAllSessionStorage`, `setLocalStorage`, `setSessionStorage`
157
+
// but probably, we don't need to silent them all at this moment
158
+
// the context: https://github.com/allure-framework/allure-js/issues/1222
159
+
if(["clearLocalStorage"].includes(name)){
160
+
return[]as[string,unknown][];
161
+
}
149
162
150
163
// For assertion logs, we interpolate the 'Message' property, which contains unformatted assertion description,
151
164
// directly into the step's name.
152
165
// No need to keep the exact same information in the step's parameters.
0 commit comments