fix: preserve working sources ahead of historical metadata
This commit is contained in:
@@ -11,7 +11,8 @@ import { captureWorkspaceSource, assertWorkspaceSource } from '../tests/fixtures
|
||||
|
||||
// Every host/project is synthetic and independently owned. Never uses 4318.
|
||||
const root = path.resolve('.qa', 'workspace-ui-' + randomUUID()), data = path.join(root, 'data');
|
||||
const proofPrefix = JSON.parse(fs.readFileSync('package.json', 'utf8')).version === '1.6.0' ? 'workspaces' : 'working-context-workspaces';
|
||||
const version = JSON.parse(fs.readFileSync('package.json', 'utf8')).version;
|
||||
const proofPrefix = version === '1.6.0' ? 'workspaces' : version === '1.6.1' ? 'working-context-workspaces' : 'working-retention-workspaces';
|
||||
fs.mkdirSync(root, { recursive: true }); fs.mkdirSync('.qa/screenshots', { recursive: true });
|
||||
const store = new Store(data), cases = {}, passed = [], pageErrors = [], requestFailures = [], screenshots = [], createPosts = [];
|
||||
for (const name of ['normal', 'mobile', 'recovery', 'late-success', 'late-failure']) {
|
||||
|
||||
Reference in New Issue
Block a user