list-app-utils.js — react Source File
Architecture documentation for list-app-utils.js, a javascript file in the react codebase.
Entity Profile
Relationship Graph
Source Code
'use strict';
/** @flow */
async function addItem(page, newItemText) {
await page.evaluate(text => {
const {createTestNameSelector, findAllNodes} = window.REACT_DOM_APP;
const container = document.getElementById('iframe').contentDocument;
const input = findAllNodes(container, [
createTestNameSelector('AddItemInput'),
])[0];
input.value = text;
const button = findAllNodes(container, [
createTestNameSelector('AddItemButton'),
])[0];
button.click();
}, newItemText);
}
module.exports = {
addItem,
};
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does list-app-utils.js do?
list-app-utils.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in list-app-utils.js?
list-app-utils.js defines 1 function(s): addItem.
Where is list-app-utils.js in the architecture?
list-app-utils.js is located at packages/react-devtools-inline/__tests__/__e2e__/list-app-utils.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-inline/__tests__/__e2e__).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free