mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-09-14 00:40:08 +00:00
rename: slopsmith -> feedBack, byron -> got-feedBack
Renames across the entire codebase: - slopsmith/Slopsmith/SLOPSMITH/SlopSmith -> feedBack/FeedBack/FEEDBACK/FeedBack - byron/Byron/Byrongamatos -> got-feedBack/got-feedBack/got-feedBack - /home/byron/ -> /opt/got-feedBack/ - byron@ougsoft.com -> hi@got-feedBack.org - github.com/byrongamatos/ -> github.com/got-feedback/ - com.byron. -> com.got-feedback. - SLOPSMITH_ env vars -> FEEDBACK_ with backward-compat fallback - Protocol/storage strings migrated with read-old/write-new pattern - window.slopsmith JS API -> window.feedBack (canonical) + backward-compat alias Refs: #rename-slopsmith
This commit is contained in:
committed by
byrongamatos
parent
fdbab2a9e1
commit
d3037b903e
@@ -39,17 +39,17 @@ test('progression capability domain is owned by core', async ({ page }) => {
|
||||
|
||||
const result = await page.evaluate(async () => {
|
||||
const appWindow = window as any;
|
||||
const inspectCmd = await appWindow.slopsmith.capabilities.command('progression', 'inspect', {
|
||||
const inspectCmd = await appWindow.feedBack.capabilities.command('progression', 'inspect', {
|
||||
requester: 'browser-smoke',
|
||||
});
|
||||
const pipeline = appWindow.slopsmith.capabilities.inspect('progression');
|
||||
const pipeline = appWindow.feedBack.capabilities.inspect('progression');
|
||||
const owner = (pipeline.participants || []).find((p: any) => p.pluginId === 'core.progression');
|
||||
return {
|
||||
outcome: inspectCmd.outcome,
|
||||
masteryRank: inspectCmd.payload ? inspectCmd.payload.mastery_rank : null,
|
||||
ownerRoles: owner ? owner.roles : [],
|
||||
// buy-item without user-action authorization must be denied.
|
||||
deniedBuy: (await appWindow.slopsmith.capabilities.command('progression', 'buy-item', {
|
||||
deniedBuy: (await appWindow.feedBack.capabilities.command('progression', 'buy-item', {
|
||||
requester: 'browser-smoke',
|
||||
payload: { item_id: 'theme.sunset-strat' },
|
||||
})).outcome,
|
||||
|
||||
Reference in New Issue
Block a user