11  Datagrid - Test script 2 (id data type conversion)

(ns oiiku.ui.impl.datagrid.docs.test2
  (:require [oiiku.qa :as qa]))

This test script focuses solely on type conversion for the :row-id-key (what we use to identify a row), from AG Grid to the app. AG Grid only support strings internally (or something else via a cellRenderer). Because we use IDs that not just strings, we need to reliably convert from AG Grid to what the app wants (UUID, number, etc).

Test the following:

(qa/display "app" "datagrid/scene2")
source: bases/admin-web/src/oiiku/ui/impl/datagrid/docs/test2.clj