h3. Steps
* Ensure the save schema button is disabled until some text is added to the editor * Create a valid schema using the editor and save the schema : http://docs . aerogear.org/aerogear/latest/data-sync.html#the-schema-editor It is best to use the MemeoList schema for testing at https://github.com/aerogear/data-sync-server/blob/master/sequelize/seeders/memeolist-example-shared.js#L22 * Ensure that the schema compiles correctly and each type is displayed in the Data Types section on the page : http://docs . aerogear.org/aerogear/latest/data-sync.html#structure-view * Ensure that each type can be expanded to view the fields and type * Ensure the schema downloads when the download button is clicked and open the JSON file to verify it is compiled and contains each of the data types * Change some type in the schema to a random invalid type and ensure that saving the editor fails with a graphql validation editor * Ensure the editor works as expected: tabs, copy-paste, selecting, etc. |
|